Information Disclosure Vulnerability in PHP Base Image by Mautic
CVE-2025-7381
5.3MEDIUM
What is CVE-2025-7381?
This vulnerability involves the exposure of the PHP version information via the X-Powered-By header in Mautic's PHP base image. By revealing this information, attackers can perform fingerprinting of the server to identify potential security weaknesses that may be exploited. To mitigate this risk, it is essential to set the 'expose_php' variable to 'Off' in the php.ini configuration file located at /usr/local/etc/php/php.ini. Failure to implement this mitigation could result in increased vulnerability to targeted attacks.
Affected Version(s)
Docker Mautic < 6.0.3-20250707-apache < 6.0.3-20250707-apache
Docker Mautic < 6.0.3-20250707-fpm < 6.0.3-20250707-fpm