CVE-2017-7189 Details
main/streams/xp_socket.c in PHP 7.x before 2017-03-07 misparses fsockopen calls, such as by interpreting fsockopen('127.0.0.1:80', 443) as if the address/port were 127.0.0.1:80:443, which is later truncated to 127.0.0.1:80. This behavior has a security risk if the explicitly provided port number (i.e., 443 in this example) is hardcoded into an application as a security policy, but the hostname argument (i.e., 127.0.0.1:80 in this example) is obtained from untrusted input.
View at NVD
Exploit prediction scoring system (EPSS) score for CVE-2017-7189
EPSS (Exploit Prediction Scoring System): EPSS predicts the likelihood that a vulnerability will be exploited in the wild. A higher percentage means a greater chance of an exploit occurring. The EPSS model produces a probability score between 0 and 1 (0 and 100%).
0.93 Probability of exploitation activity being observed over the next 30 days (75th percentile)
CVSS score for CVE-2017-7189
CVSS (Common Vulnerability Scoring System): An open framework owned and managed by FIRST.Org, Inc. that assigns a numerical score from 0 to 10 to software vulnerabilities to indicate their severity.
7.5 High
Products affected by CVE-2017-7189

CVE-2017-7189 Global Footprint

Top 10 Identified Countries

Country Observations Percentage
US 4,593 23.14%
CN 3,127 15.75%
KR 2,125 10.70%
JP 1,250 6.30%
DE 896 4.51%
SG 831 4.19%
FR 589 2.97%
RU 583 2.94%
BR 432 2.18%
IE 378 1.90%

Is CVE-2017-7189 part of your extended attack surface? Bitsight helps security leaders rapidly identify exposure and detect threats in order to prioritize, communicate, and mitigate risk.

View interactive product tours

CVE-2017-7189 Industry Footprint

Top 10 Identified Industries

*Service provider organizations (typically Technology and Telecommunications) are disproportionally represented in the results given their upstream ownership of end-user infrastructure. See our FAQs.

Industry* Observations Percentage
Technology 10,744 77.01%
Telecommunications 2,658 19.05%
Education 138 0.99%
Government/Politics 99 0.71%
Food Production 50 0.36%
Business Services 38 0.27%
Media/Entertainment 36 0.26%
Tourism/Hospitality 33 0.24%
Legal 26 0.19%
Utilities 25 0.18%

Bitsight, the leading provider in Cyber Risk Management, introduced the next-generation internet scanner Bitsight Groma in May 2024. This technology continuously scans the entire internet to discover assets, collect asset attribution evidence, and identify an ever-growing set of security observations, such as vulnerabilities and misconfigurations. Groma’s scanning activities presently encompass:


  • 40 million-plus monitored organizations
  • 250 million-plus host names
  • 4 billion-plus routable IPv4 and IPv6 addresses

Greynoise’s recent study testifies the speed of Bitsight Groma.

Bitsight data discovery
Governance charcoal background

Bitsight TRACE team investigates security incidents and identifies vulnerabilities and threats.

View latest security research 

See what you’re up against across the expanding attack surface. Prioritize what matters most. And mitigate where you’re most vulnerable.

External Attack Surface Management

Bitsight ASA Report Image

Reducing exposure starts with knowing exactly how your external attack surface stands—from your overall standing to each digital and cloud asset around the world. Bitsight's custom report gives you the insights you need to see your entire external attack surface.