Show plain JSON{"id": "CVE-2013-5639", "cveTags": [], "metrics": {"cvssMetricV2": [{"type": "Primary", "source": "nvd@nist.gov", "cvssData": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}, "acInsufInfo": false, "impactScore": 6.4, "baseSeverity": "HIGH", "obtainAllPrivilege": false, "exploitabilityScore": 10.0, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "published": "2014-03-11T19:37:03.067", "references": [{"url": "http://packetstormsecurity.com/files/123482", "tags": ["Exploit"], "source": "cve@mitre.org"}, {"url": "http://www.exploit-db.com/exploits/28684", "tags": ["Exploit"], "source": "cve@mitre.org"}, {"url": "https://www.htbridge.com/advisory/HTB23171", "tags": ["Exploit"], "source": "cve@mitre.org"}, {"url": "http://packetstormsecurity.com/files/123482", "tags": ["Exploit"], "source": "af854a3a-2127-422b-91ae-364da2661108"}, {"url": "http://www.exploit-db.com/exploits/28684", "tags": ["Exploit"], "source": "af854a3a-2127-422b-91ae-364da2661108"}, {"url": "https://www.htbridge.com/advisory/HTB23171", "tags": ["Exploit"], "source": "af854a3a-2127-422b-91ae-364da2661108"}], "vulnStatus": "Deferred", "weaknesses": [{"type": "Primary", "source": "nvd@nist.gov", "description": [{"lang": "en", "value": "CWE-22"}]}], "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\u00e9s de un .. (punto punto) en la cookie gnew_language."}], "lastModified": "2025-04-12T10:46:40.837", "configurations": [{"nodes": [{"negate": false, "cpeMatch": [{"criteria": "cpe:2.3:a:raoul_proenca:gnew:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "3399DC5B-B4F0-44D8-9F02-ED8CD35B5C0B", "versionEndIncluding": "2013.1"}], "operator": "OR"}]}], "sourceIdentifier": "cve@mitre.org", "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;\""}