CVE-2012-5231 Code injection in n/a
Remote attackers can execute arbitrary PHP code in miniCMS by manipulating page or area variables during file updates.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-5231?
CVE-2012-5231 is a high-severity code injection vulnerability in n/a, published on 1 Oct 2012. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
miniCMS 1.0 and 2.0 allows remote attackers to execute arbitrary PHP code via a crafted (1) pagename or (2) area variable containing an executable extension, which is not properly handled by (a) update.php when writing files to content/, or (b) updatenews.php when writing files to content/news/.
Weakness: CWE-94
Which versions are affected by CVE-2012-5231?
It affects 1 product.
Products include Jessgramp Minicms.
How do I fix CVE-2012-5231?
No fix has been published for CVE-2012-5231 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2012-5231 being exploited?
There is no known exploitation of CVE-2012-5231 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-9435-jcpg-pfq8.