7.5
CWE
94
Advisory Published
Updated

CVE-2012-5231: Code Injection

First published: Mon Oct 01 2012(Updated: )

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/.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Jessgramp Minicms=1.0
Jessgramp Minicms=2.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2012-5231?

    CVE-2012-5231 has a high severity rating due to its potential for arbitrary PHP code execution.

  • How do I fix CVE-2012-5231?

    To fix CVE-2012-5231, update miniCMS to the latest version or implement input validation to prevent executable extensions in pagename and area variables.

  • What versions are affected by CVE-2012-5231?

    CVE-2012-5231 affects miniCMS versions 1.0 and 2.0.

  • Can CVE-2012-5231 be exploited remotely?

    Yes, CVE-2012-5231 can be exploited remotely by attackers through crafted inputs.

  • What are the potential consequences of exploiting CVE-2012-5231?

    Exploiting CVE-2012-5231 can lead to remote code execution, allowing attackers to run arbitrary PHP code on the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203