Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   PHP Vendors:   PHP Group
PHP fsockopen() Bug Lets Remote Users Cause the Server to Access Alternate Portnumbers in Certain Cases
SecurityTracker Alert ID:  1038158
SecurityTracker URL:
CVE Reference:   CVE-2017-7272   (Links to External Site)
Date:  Mar 29 2017
Impact:   Host/resource access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 7.x
Description:   A vulnerability was reported in PHP. A remote user can cause the target application to access alternate port numbers in certain cases.

The fsockopen() function accepts a port number in the hostname parameter (appended with a colon) that will override the port number specified in the 'port' parameter. A remote user may be able to cause an application that provides user-supplied hostname data without proper validation to the fsockopen() function to connect to a different port than intended.

Fikri Fadzil of SEC Consult reported this vulnerability.

Impact:   A remote user can cause the target application to access alternate port numbers, different from the intended port number, in certain cases.
Solution:   The vendor has issued a source code fix, available at:

Vendor URL: (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

[Original Message Not Available for Viewing]

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC