CVE-2025-34060 Details
Description
A PHP objection injection vulnerability exists in the Monero Project’s Laravel-based forum software due to unsafe handling of untrusted input in the /get/image/ endpoint. The application passes a user-supplied link parameter directly to file_get_contents() without validation. MIME type checks using PHP’s finfo can be bypassed via crafted stream filter chains that prepend spoofed headers, allowing access to internal Laravel configuration files. An attacker can extract the APP_KEY from config/app.php, forge encrypted cookies, and trigger unsafe unserialize() calls, leading to reliable remote code execution.
A PHP object injection vulnerability has been identified in the Monero Project's Laravel-based forum software, specifically in version 4.2.22. The issue arises from the improper handling of untrusted input in the '/get/image/' endpoint. The application directly passes a user-supplied link parameter to 'file_get_contents()' without proper validation. Although MIME type checks are implemented using PHP's 'finfo' function, these can be circumvented with specially crafted stream filter chains that add fake headers, allowing access to sensitive internal Laravel configuration files. Exploiting this vulnerability enables an attacker to extract the 'APP_KEY' from 'config/app.php', create forged encrypted cookies, and invoke unsafe 'unserialize()' functions, resulting in reliable remote code execution.
The vulnerable forum has been taken offline.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 1, 2025CISA-ADP
Assessed Jul 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://swap.gs/posts/monero-forums/ | [email protected] | ExploitTechnical Analysis |
| https://vulncheck.com/advisories/monero-forum-rce | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Monero Forum | 4.2.22 (semver) |
CPE
Remediation
| |
| Laravel | 4.2.22 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 1, 2025 | New CVE Received | [email protected] |
Volerion