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

published February 7, 2017

CVSS
—
EPSS
20%
Percentile
97.4
In the wild
Unconfirmed
What it is

⚠️ An eval injection vulnerability in php-gettext 1.0.12 and earlier is like allowing a rogue chef to toss anything into your kitchen — they could cook up something disastrous! Imagine your restaurant has an open kitchen where the chef can add any secret ingredient without supervision. This vulnerability gives the attacker that power — they can serve any malicious dish they want by sneaking in arbitrary PHP code through a crafted plural forms header. An attacker could exploit this flaw to execute any PHP code on the server, potentially altering data, stealing sensitive information, or taking complete control of the system. The consequences could be severe, undermining the integrity and security of your application.

Put simply

Imagine your restaurant has an open kitchen where the chef can add any secret ingredient without supervision. This vulnerability gives the attacker that power — they can serve any malicious dish they want by sneaking in arbitrary PHP code through a crafted plural forms header. This eval injection vulnerability allows remote attackers to run arbitrary PHP code by manipulating the plural forms header sent to php-gettext, which is a library for internationalization.

What to do

An attacker could exploit this flaw to execute any PHP code on the server, potentially altering data, stealing sensitive information, or taking complete control of the system. The consequences could be severe, undermining the integrity and security of your application. To secure your application, upgrade php-gettext to version 1.0.13 or later, where this vulnerability has been fixed. Additionally, review your use of any other libraries that may allow similar input to ensure they’re not vulnerable. You've got this! By taking action, you can protect your application and keep your kitchen safe from unwanted ingredients! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.19660 · 97.4th percentile
Published
2017-02-07T15:00Z
EPSS history
Timeline
  • 07 FEB 15:00Z
    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
    cvelistv5