Vulnerability Name:

CVE-2004-1466 (CCN-17021)

Assigned:2004-08-17
Published:2004-08-17
Updated:2017-07-11
Summary:The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary directory every 30 seconds after they have been uploaded using save_photos.php, which allows remote attackers to upload and execute execute arbitrary scripts before they are deleted, if the temporary directory is under the web root.
CVSS v3 Severity:4.6 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:N/AC:H/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Access
References:Source: CCN
Type: Full-Disclosure Mailing List, Tue Aug 17 2004 - 11:23:57 CDT
Gallery 1.4.4 save_photos.php PHP Insertion Proof of Concept

Source: FULLDISC
Type: Exploit
20040817 Gallery 1.4.4 save_photos.php PHP Insertion Proof of Concept

Source: MITRE
Type: CNA
CVE-2004-1466

Source: CONFIRM
Type: Patch
http://gallery.menalto.com/modules.php?op=modload&name=News&file=article&sid=134&mode=thread&order=0&thold=0

Source: CCN
Type: GLSA-200409-05
Gallery: Arbitrary command execution

Source: GENTOO
Type: Patch
GLSA-200409-05

Source: CCN
Type: OSVDB ID: 9019
Gallery save_photos.php Arbitrary Command Execution

Source: BID
Type: Exploit, Patch
10968

Source: CCN
Type: BID-10968
Gallery Remote Server-Side Script Execution Vulnerability

Source: XF
Type: UNKNOWN
gallery-savephotos-file-upload(17021)

Source: XF
Type: UNKNOWN
gallery-savephotos-file-upload(17021)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:gallery_project:gallery:1.4.4:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:gallery:gallery:1.4.4:*:*:*:*:*:*:*
  • AND
  • cpe:/o:gentoo:linux:*:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    gallery_project gallery 1.4.4
    gallery gallery 1.4.4
    gentoo linux *