Remote command execution in eWire PHP component



Published: 2007-09-17 | Updated: 2016-12-10
Risk Critical
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2007-4925
CWE-ID CWE-78
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Subscribe
Payment Client
Web applications / E-Commerce systems

Vendor EWire

Security Bulletin

This security bulletin contains one critical risk vulnerability.

1) OS command injection

EUVDB-ID: #VU1250

Risk: Critical

CVSSv3.1: 9.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]

CVE-ID: CVE-2007-4925

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary commands on vulnerable system.

The vulnerability exists due to insufficient sanitization of user-supplied input passed via "paymentinfo" HTTP GET parameter to "simplePHPLinux/3payment_receive.php" script. A remote attacker can send a specially crafted HTTP Get request to vulnerable script and execute arbitrary OS commands on vulnerable system with privileges of the web server.

Successful exploitation of the vulnerability allows to execute arbitrary commands and compromise vulnerable system.

Note: this vulnerability is being actively exploited.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Payment Client: 1.60 - 1.70

External links

http://cert.civis.net/en/index.php?action=alert&m=CVE-2007-4925
http://fortconsult.net/files/ewire_PHP_code_exec.pdf


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.



###SIDEBAR###