PHP version disclosure via X-Powered-By header
Published Jul 9, 2025 · Updated Jul 10, 2025
Information disclosure in affected Mautic Docker images allows remote attackers to obtain the PHP version through HTTP responses. The image configuration leaves expose_php enabled in /usr/local/etc/php/php.ini, causing PHP-generated responses to emit an X-Powered-By header. Unauthenticated remote requests suffice; disclosure is limited to PHP version fingerprinting, with no reported access to Mautic data or service interruption.
Summary
What happened
Information disclosure in affected Mautic Docker images allows remote attackers to obtain the PHP version through HTTP responses. The image configuration leaves expose_php enabled in /usr/local/etc/php/php.ini, causing PHP-generated responses to emit an X-Powered-By header. Unauthenticated remote requests suffice; disclosure is limited to PHP version fingerprinting, with no reported access to Mautic data or service interruption.
The record
- CVE
- CVE-2025-7381
- Published
- Jul 9, 2025
- Updated
- Jul 10, 2025
- Vendor
- Acquia
- Product
- Mautic
- Classifications
- CWE-497, CAPEC-170, T1592.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 9, 2025CVE publishedPublication date reported by the CVE source.
- Jul 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 5.2.7-20250707-apache
- Affected versionversion=<= 5.2.7-20250707-fpm
- Affected versionversion=<= 6.0.3-20250707-apache
- Affected versionversion=<= 6.0.3-20250707-fpm
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo