| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in EasyCom. It has been classified as critical. This issue affects some unknown processing of the component PHP API. The manipulation leads to memory corruption. This vulnerability is uniquely identified as CVE-2017-5358. The attack is possible to be carried out remotely. Moreover, an exploit is present. Upgrading the affected component is recommended.
Details
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 databases at Exploit-DB (41425) and SecurityFocus (BID 96419†). The entry VDB-97278 is pretty similar. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Name
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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
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 🔍
12/03/2025 🔍
Sources
Advisory: EasyCom PHP API Stack Buffer OverflowResearcher: John Page (hyp3rlinx)
Status: Confirmed
CVE: CVE-2017-5358 (🔍)
GCVE (CVE): GCVE-0-2017-5358
GCVE (VulDB): GCVE-100-97277
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: 12/03/2025 11:50
Changes: 02/24/2017 16:38 (69), 09/02/2020 12:42 (5), 12/03/2025 11:50 (19)
Complete: 🔍
Cache ID: 216:826:103
No comments yet. Languages: en.
Please log in to comment.