Description
simple-php-router through 5.4.1.7 contains an IP restriction bypass vulnerability in the IpRestrictAccess middleware that allows remote unauthenticated attackers to bypass IP whitelist and blacklist protections. Attackers can spoof X-Forwarded-For, CF-Connecting-IP, or Client-IP headers to impersonate whitelisted addresses or evade blacklists, gaining access to IP-restricted routes.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
pecee simple-router
Default version status: unaffected
0 to ≤ 5.4.1.7affected
pkg:composer/pecee/simple-routerReferences
- https://github.com/skipperbent/simple-php-router/issues/727 ↗
- https://github.com/skipperbent/simple-php-router/blob/5.4.1.7/src/Pecee/Http/Middleware/IpRestrictAccess.php ↗
- https://github.com/skipperbent/simple-php-router/blob/5.4.1.7/src/Pecee/Http/Request.php ↗
- https://github.com/skipperbent/simple-php-router ↗
- https://www.vulncheck.com/advisories/simple-php-router-through-5.4.1.7-ip-restriction-bypass-via-forwarding-headers ↗