CVE-2012-4031 Path traversal in n/a
Remote attackers can read arbitrary files on Wangkongbao CNS devices via directory traversal in login cookies.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-4031?
CVE-2012-4031 is a medium-severity path traversal vulnerability in n/a, published on 17 Jul 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Multiple directory traversal vulnerabilities in src/acloglogin.php in Wangkongbao CNS-1000 and 1100 allow remote attackers to read arbitrary files via a .. (dot dot) in the (1) lang or (2) langid cookie to port 85.
Weakness: CWE-22
Which versions are affected by CVE-2012-4031?
It affects 2 products.
Products include Wangkongbao Cns-1000, Wangkongbao Cns-1100.
How do I fix CVE-2012-4031?
No fix has been published for CVE-2012-4031 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2012-4031 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-4031 exists.
Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.
Sources
Also known as GHSA-4cvv-jv4x-4gv8.