Sploitus

Exploit for πŸ“„ Gentoo Linux Security Advisory 200506-20

packetstorm Β· 2025-05-23

Exploit Code

MARKDOWN48 lines
## https://sploitus.com/exploit?id=PACKETSTORM:200378
Cacti: Several vulnerabilities β€” GLSA 200506-20
    
    Cacti is vulnerable to several SQL injection, authentication bypass and file inclusion vulnerabilities.
    
    Affected packages
    
    Package 	net-analyzer/cacti on all architectures
    Affected versions 	< 0.8.6f
    Unaffected versions 	>= 0.8.6f
    
    Background
    
    Cacti is a complete web-based frontend to rrdtool.
    
    Description
    
    Cacti fails to properly sanitize input which can lead to SQL injection, authentication bypass as well as PHP file inclusion.
    
    Impact
    
    An attacker could potentially exploit the file inclusion to execute arbitrary code with the permissions of the web server. An attacker could exploit these vulnerabilities to bypass authentication or inject SQL queries to gain information from the database. Only systems with register_globals set to "On" are affected by the file inclusion and authentication bypass vulnerabilities. Gentoo Linux ships with register_globals set to "Off" by default.
    
    Workaround
    
    There is no known workaround at this time.
    
    Resolution
    
    All Cacti users should upgrade to the latest version:
    
     # emerge --sync
     # emerge --ask --oneshot --verbose ">=net-analyzer/cacti-0.8.6f"
    
    Note: Users with the vhosts USE flag set should manually use webapp-config to finalize the update.
    References
    
        Cacti Release Notes - 0.8.6e
        iDEFENSE SQL injection advisory
        iDEFENSE config_settings advisory
        iDEFENSE remote file inclusion advisory
        Cacti Release Notes - 0.8.6f
        Hardened - PHP Project Cacti Multiple SQL Injection Vulnerabilities
        Hardened - PHP Project Cacti Remote Command Execution Vulnerability
        Hardened - PHP Project Cacti Authentification/Addslashes Bypass Vulnerability
        CVE-2005-1524
        CVE-2005-1525
        CVE-2005-1526