Description
SimplePie through 1.9.0 contains a local file read vulnerability that allows malicious feed servers to read server files by supplying file:// URLs in redirects or autodiscovery links. Attackers can return a Location header or feed link pointing to a file:// path, causing file_get_contents() to read files accessible to the web server process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SimplePie | simplepie | ≤ 1.9.0 | — |
References
- https://github.com/simplepie/simplepie/issues/968 issue-tracking
- https://github.com/simplepie/simplepie/pull/991 issue-tracking patch
- https://github.com/abraxas/pfsense-rss-file-redirect exploit technical-description
- https://github.com/simplepie/simplepie/blob/76cccb1b2c5dcaf44f304c925ab30c0f48643992/src/File.php#L160-L176 technical-description
- https://github.com/simplepie/simplepie/blob/76cccb1b2c5dcaf44f304c925ab30c0f48643992/src/File.php#L289-L293 technical-description
- https://github.com/simplepie/simplepie/blob/76cccb1b2c5dcaf44f304c925ab30c0f48643992/src/HTTP/Psr18Client.php#L75-L157 technical-description
- https://github.com/simplepie/simplepie product
- VulnCheck Advisory: SimplePie through 1.9.0 Local File Read via file:// Redirect third-party-advisory