Critical Eval Injection Vulnerability in php-gettext Package
Summary
UBUNTU-CVE-2016-6175: Eval injection vulnerability in php-gettext 1.0.12 and earlier allows remote attackers to execute arbitrary PHP code via a crafted plural forms header. Affects php-gettext versions 1.0.11-1 – 1.0.11-1ubuntu0.1~esm1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The php-gettext package is a PHP library that facilitates the use of GNU gettext for internationalization and localization of applications. It allows developers to manage translations and plural forms effectively. However, versions 1.0.12 and earlier are vulnerable to a critical eval injection flaw that can be exploited by remote attackers.
Vulnerability Detail
The vulnerability, identified as CVE-2016-6175, stems from an eval injection issue in php-gettext versions 1.0.12 and earlier. This flaw allows remote attackers to execute arbitrary PHP code by crafting a malicious plural forms header. The implications of this vulnerability are severe, as it can lead to unauthorized access, data manipulation, and potentially complete system compromise. The CVSS score for this vulnerability is 9.8, indicating a critical severity level.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users can avoid using the vulnerable features of the php-gettext package until an update can be applied. This may involve disabling certain functionalities related to plural forms handling.
Conclusion
The eval injection vulnerability in the php-gettext package poses a significant risk to applications utilizing this library. It is crucial for users to update to the latest patched version to safeguard against potential exploits. Utilizing tools like Vulert can further enhance security by monitoring for vulnerabilities in real-time.
See every vulnerability recorded for php-gettext →
FAQ
CVE-2016-6175 is a critical eval injection vulnerability in the php-gettext package that allows remote code execution.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your manifest file for vulnerabilities.
Failing to address this vulnerability can lead to unauthorized access, data breaches, and potential system takeover by attackers.
Yes, a patched version of php-gettext is available. Users should upgrade to version 1.0.12-0.1 or later to mitigate the risk.
Vulert is a service that monitors and alerts for open-source vulnerabilities in software using a manifest file. It provides real-time insights without requiring code access.
Related vulnerabilities
Recent vulnerabilities recorded for php-gettext.