SSRF in PHP



Published: 2017-06-30 | Updated: 2017-07-04
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-7272
CWE-ID CWE-918
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
PHP
Universal components / Libraries / Scripting languages

Vendor PHP Group

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Server-side request forgery

EUVDB-ID: #VU7273

Risk: High

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

CVE-ID: CVE-2017-7272

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

Exploit availability: No

Description

The vulnerability allows a remote user to perform SSRF attack.

The weakness exists due to a flaw in the fsockopen() function. A remote attacker can use fsockopen hostname argument to cause the system to accept it with an expectation that the port number is constrained and perform server-sire request forgery attack.

Successful exploitation of this vulnerability may allow an attacker to perform SSRF attack to retrieve information for further attacks against vulnerable system by performing unauthorized connections to local resources, gain access to sensitive information and compromise vulnerable system.

Mitigation

Update to version 7.1.3.

Vulnerable software versions

PHP: 7.0.11 - 7.1.2

External links

http://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20170403-0_PHP_Misbehavior_of_fsockopen_function_v10.txt


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, proof of concept for this vulnerability is available.



###SIDEBAR###