CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.4 | $0-$5k | 0.00 |
A vulnerability was found in EasyCom (unknown version) and classified as critical. This issue affects an unknown code block of the component PHP API. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Stack-based buffer overflows in php_Easycom5_3_0.dll in EasyCom for PHP 4.0.0.29 allows remote attackers to execute arbitrary code via the server argument to the (1) i5_connect, (2) i5_pconnect, or (3) i5_private_connect API function.
The bug was discovered 02/22/2017. The weakness was disclosed 02/22/2017 by John Page (hyp3rlinx) as EasyCom PHP API Stack Buffer Overflow as not defined mailinglist post (Full-Disclosure). The advisory is shared at seclists.org. The identification of this vulnerability is CVE-2017-5358 since 01/13/2017. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are unknown but a public exploit is available.
A public exploit has been developed by John Page and been published immediately after the advisory. The exploit is available at seclists.org. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 62 days. During that time the estimated underground price was around $0-$5k. The code used by the exploit is:
<?php /* Basic connection to an AS400 iBMI System */ $payload=str_repeat("A", 4000); #BOOM! $payload=str_repeat("A",1868)."RRRRBBBB".str_repeat("\x90",100); #SEH $conn = i5_connect($payload, "QPGMR", "PASSW") or die(i5_errormsg()); #VULN $conn = i5_pconnect($payload, 'QSECOFR', 'password', array() ); #VULN $conn = i5_private_connect($payload, $user, $password, array()); #VULN echo 'EasyCom PHP API 0day ' . $conn; ?>
Upgrading eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Exploit-DB (41425). The entry 97278 is pretty similar.
Product
Name
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.0
VulDB Base Score: 7.3
VulDB Temp Score: 6.3
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: Memory corruptionCWE: CWE-119
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: John Page
Download: 🔍
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: UpgradeStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Timeline
12/22/2016 🔍01/13/2017 🔍
02/22/2017 🔍
02/22/2017 🔍
02/22/2017 🔍
02/24/2017 🔍
02/24/2017 🔍
03/15/2017 🔍
09/02/2020 🔍
Sources
Advisory: EasyCom PHP API Stack Buffer OverflowResearcher: John Page (hyp3rlinx)
Status: Not defined
CVE: CVE-2017-5358 (🔍)
SecurityFocus: 96419 - EasyCom AS400 PHP API CVE-2017-5358 Buffer Overflow Vulnerability
OSVDB: - CVE-2017-5358 - EasyCom for PHP - Buffer Overflow Issue
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 02/24/2017 16:38Updated: 09/02/2020 12:42
Changes: 02/24/2017 16:38 (69), 09/02/2020 12:42 (5)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.