File Overwrite Vulnerability in PEAR Installer

Patch this weekData or code tampering over the network, no login needed.
7.5HIGH

CVE-2017-5630

Key Information:

Vendor

PHP

Status
CVE ID
CVE ID:
CVE-2017-5630
Vendor
CVE Published:
1 February 2017

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Pear. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • EPSS gives it a 12.5% chance of exploitation in the next 30 days.
  • Its CVSS severity is high (7.5).

What is CVE-2017-5630?

A security flaw exists in the PECL download utility class within the PEAR Base System version 1.10.1, where it fails to properly validate file types and filenames after a redirect. This oversight creates a potential risk that allows remote HTTP servers to exploit the utility, enabling them to overwrite files on the server by sending specially crafted responses. Attackers could leverage this vulnerability to alter important configuration files, such as .htaccess, leading to further security risks.

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

EPSS Score

12% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.