CVE-2012-5242 Path traversal in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary local files via directory traversal in the get_template action, leading to code execution and data disclosure.

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-5242?

CVE-2012-5242 is a medium-severity path traversal vulnerability in n/a, published on 21 Oct 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in functions/suggest.php in Banana Dance B.2.6 and earlier allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the name parameter in a get_template action.

Weakness: CWE-22

Which versions are affected by CVE-2012-5242?

It affects 1 product.

Products include Bananadance Banana Dance.

How do I fix CVE-2012-5242?

No fix has been published for CVE-2012-5242 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-5242 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-5242 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-phq9-x859-pv8w.

Is CVE-2012-5242 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free