CVE-2007-2647: PHP Code Injection in Monalbum 0.8.7 admin_configuration.php
- Vendor
- Monalbum
CVE-2007-2647 is a static code injection vulnerability in Monalbum 0.8.7, specifically in the admin/admin_configuration.php script. Remote authenticated users can inject arbitrary PHP code into the conf/config.inc.php file by supplying malicious input to any of 28 configuration parameters (such as gadm_pass, gadm_user, gcfgHote, etc.). The vulnerable script fails to properly sanitize user-supplied input before writing it to a PHP configuration file, resulting in the possibility of arbitrary code execution on the server.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote authenticated attacker to execute arbitrary PHP code with the privileges of the web server process. This can lead to full compromise of the application and potentially the underlying server, including data theft, defacement, or further lateral movement within the environment.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the admin interface to trusted users and IP addresses. Employ web application firewalls (WAFs) to detect and block malicious payloads. Regularly monitor and audit configuration files for unauthorized changes. Consider disabling direct editing of PHP configuration files via the web interface if not strictly necessary.
Remediation
Patch, then assume compromise.
Upgrade to a version of Monalbum that properly sanitizes and validates all user-supplied input before writing to configuration files. If no patched version is available, apply a custom patch to ensure that all configuration parameters are strictly validated and that no PHP code or special characters can be injected into config.inc.php.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2007-2647 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-2647 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-2647?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2007-2647.
- Is there a patch for CVE-2007-2647?
- Upgrade to a version of Monalbum that properly sanitizes and validates all user-supplied input before writing to configuration files. If no patched version is available, apply a custom patch to ensure that all configuration parameters are strictly validated and that no PHP code or special characters can be injected into config.inc.php.
- What products are affected by CVE-2007-2647?
- Monalbum.
- How severe is CVE-2007-2647?
- CVE-2007-2647 has a CVSS v2 score of 6.5 (Medium) and an EPSS score of 2.7% (86th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.