{"id":"CVE-2013-5639","sourceIdentifier":"cve@mitre.org","published":"2014-03-11T19:37:03.067","lastModified":"2026-06-16T23:59:09.190","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Vulnerabilidad de salto de directorio en users/login.php en Gnew 2013.1 y anteriores permite a atacantes remotos leer archivos arbitrarios a través de un .. (punto punto) en la cookie gnew_language."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-22"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:raoul_proenca:gnew:*:*:*:*:*:*:*:*","versionEndIncluding":"2013.1","matchCriteriaId":"3399DC5B-B4F0-44D8-9F02-ED8CD35B5C0B"}]}]}],"references":[{"url":"http://packetstormsecurity.com/files/123482","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://www.exploit-db.com/exploits/28684","source":"cve@mitre.org","tags":["Exploit"]},{"url":"https://www.htbridge.com/advisory/HTB23171","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://packetstormsecurity.com/files/123482","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://www.exploit-db.com/exploits/28684","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"https://www.htbridge.com/advisory/HTB23171","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]}],"evaluatorSolution":"CVE-2013-5639 CVSS assessment per LFI:\n\nhttps://www.htbridge.com/advisory/HTB23171\n\n\n\"1) PHP File Inclusion in Gnew: CVE-2013-5639\n\nVulnerability 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.\n\nThe following exploitation example below displays content of the \"/etc/passwd\" file:\n\nGET /users/login.php HTTP/1.1\nCookie: gnew_language=../../../etc/passwd%00;\""}