National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2013-5639 Detail

Current Description

Directory traversal vulnerability in users/login.php in Gnew 2013.1 and earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the gnew_language cookie.

Source:  MITRE
View Analysis Description

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

Evaluator Solution

CVE-2013-5639 CVSS assessment per LFI: https://www.htbridge.com/advisory/HTB23171 "1) PHP File Inclusion in Gnew: CVE-2013-5639 Vulnerability exists due to insufficient validation of user-supplied input passed via the "gnew_language" cookie to "/users/login.php" script before using it in "include()" function. A remote attacker can include and execute arbitrary local files on a vulnerable system via directory traversal sequence and URL-encoded NULL byte. The following exploitation example below displays content of the "/etc/passwd" file: GET /users/login.php HTTP/1.1 Cookie: gnew_language=../../../etc/passwd%00;"

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://packetstormsecurity.com/files/123482 Exploit
http://www.exploit-db.com/exploits/28684 Exploit
https://www.htbridge.com/advisory/HTB23171 Exploit

Technical Details

Vulnerability Type (View All)

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:raoul_proenca:gnew:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
2013.1


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2013-5639
NVD Published Date:
03/11/2014
NVD Last Modified:
03/12/2014