National Vulnerability Database

National Vulnerability Database

National Vulnerability

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


CVSS 3.x Severity and Metrics:

Base Score: N/A
NVD score not yet provided.

Evaluator Solution

CVE-2013-5639 CVSS assessment per LFI: "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

Hyperlink Resource Exploit Exploit Exploit

Weakness Enumeration

CWE-ID CWE Name Source
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
     Show Matching CPE(s)
Up to (including)

Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
NVD Published Date:
NVD Last Modified: