php-gettext up to 1.0.12 Plural Forms Header gettext.php code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.2 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Code injectionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Patch: github.com
Timeline
06/25/2016 🔍07/06/2016 🔍
07/25/2016 🔍
07/25/2016 🔍
02/07/2017 🔍
02/07/2017 🔍
02/07/2017 🔍
02/01/2025 🔍
Sources
Advisory: EDB-ID 40154Researcher: 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
Entry
Created: 02/07/2017 22:14Updated: 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.
No comments yet. Languages: en.
Please log in to comment.