CakePHP up to 3.2.4 HTTP Header clientIp CLIENT-IP input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in CakePHP up to 3.2.4. It has been classified as critical. This vulnerability affects the function clientIp of the component HTTP Header Handler. Performing a manipulation of the argument CLIENT-IP results in input validation.
This vulnerability is known as CVE-2016-4793. Remote exploitation of the attack is possible. Furthermore, an exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as critical, was found in CakePHP up to 3.2.4. This affects the function clientIp of the component HTTP Header Handler. The manipulation of the argument CLIENT-IP with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on integrity. The summary by CVE is:
The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.
The bug was discovered 05/12/2016. The weakness was published 01/23/2017 by SecuriTeam with Beyond Security (Website). It is possible to read the advisory at legalhackers.com. This vulnerability is uniquely identified as CVE-2016-4793 since 05/12/2016. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.
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 256 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 97393 (Debian DLA-835-1 : cakephp security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l.
Upgrading eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (39813), Tenable (97393) and SecurityFocus (BID 95846†). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.1
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
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: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 97393
Nessus Name: Debian DLA-835-1 : cakephp security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 863825
OpenVAS Name: Debian Lts Announce DLA 835-1 ([SECURITY] [DLA 835-1] cakephp security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
05/12/2016 🔍05/12/2016 🔍
01/23/2017 🔍
01/23/2017 🔍
01/24/2017 🔍
01/30/2017 🔍
02/24/2017 🔍
02/27/2017 🔍
05/14/2026 🔍
Sources
Advisory: legalhackers.comResearcher: SecuriTeam
Organization: Beyond Security
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2016-4793 (🔍)
GCVE (CVE): GCVE-0-2016-4793
GCVE (VulDB): GCVE-100-95835
SecurityFocus: 95846 - CakePHP CVE-2016-4793 Security Bypass Vulnerability
OSVDB: - CVE-2016-4793 - CakePHP - Spoofing Issue
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 01/24/2017 08:31Updated: 05/14/2026 13:59
Changes: 01/24/2017 08:31 (72), 07/30/2020 16:08 (13), 01/29/2025 10:14 (19), 05/14/2026 13:59 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.