php-gettext up to 1.0.12 Plural Forms Header gettext.php code injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.2$0-$5k0.00

Summaryinfo

A vulnerability described as critical has been identified in php-gettext up to 1.0.12. Affected is an unknown function of the file gettext.php of the component Plural Forms Header Handler. The manipulation results in code injection. This vulnerability is reported as CVE-2016-6175. The attack can be launched remotely. Moreover, an exploit is present.

Detailsinfo

A vulnerability was found in php-gettext up to 1.0.12 (Programming Language Software). It has been classified as critical. Affected is an unknown code block of the file gettext.php of the component Plural Forms Header Handler. The manipulation with an unknown input leads to a code injection vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The bug was discovered 06/25/2016. The weakness was disclosed 02/07/2017 by kmkz as EDB-ID 40154 as confirmed exploit (Exploit-DB). The advisory is shared for download at exploit-db.com. This vulnerability is traded as CVE-2016-6175 since 07/06/2016. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.

A public exploit has been developed by kmkz and been published before and not just after the advisory. The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 227 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:gettext.php it is possible to find vulnerable targets with Google Hacking.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at Exploit-DB (40154). Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.2

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: kmkz
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Patch: github.com

Timelineinfo

06/25/2016 🔍
07/06/2016 +11 days 🔍
07/25/2016 +19 days 🔍
07/25/2016 +0 days 🔍
02/07/2017 +197 days 🔍
02/07/2017 +0 days 🔍
02/07/2017 +0 days 🔍
02/01/2025 +2916 days 🔍

Sourcesinfo

Advisory: EDB-ID 40154
Researcher: kmkz
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-6175 (🔍)
GCVE (CVE): GCVE-0-2016-6175
GCVE (VulDB): GCVE-100-96612
OSVDB: - CVE-2016-6175 - php-gettext - Eval Injection Issue

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 02/07/2017 22:14
Updated: 02/01/2025 17:53
Changes: 02/07/2017 22:14 (66), 09/01/2020 08:29 (4), 11/11/2022 21:12 (3), 02/01/2025 17:53 (18)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!