CVE-2025-34060

Monero Forum Remote Code Execution via Arbitrary File Read and Cookie Forgery

State
Published
Severity
10.0 Critical
Published
Jul 1, 2025
Updated
Jul 1, 2025
Reserved
Apr 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.010.0 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HVulnCheck

Weaknesses

  • CWE-502 Deserialization of Untrusted Data
  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere
  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
ForumMonero Project
  • 0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.