{"exploit":{"id":"EDB-24591","name":"PerlDesk Language Variable - Server-Side Script Execution","description":"PerlDesk Language Variable - Server-Side Script Execution","cves":["CVE-2004-1678"],"author":"Nikyt0x Argentina","published":"2004-09-13","platform":"cgi","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/24591","path":"exploits/cgi/webapps/24591.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-24591.txt","vulnerabilities":[{"id":"CVE-2004-1678","state":"PUBLISHED","title":null,"titleSource":null,"description":"Directory traversal vulnerability in pdesk.cgi in PerlDesk allows remote attackers to read portions of arbitrary files and possibly execute arbitrary Perl modules via \"..\" sequences terminated by a %00 (null) character in the lang parameter, which can leak portions of the requested files if a compilation error message occurs.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2004-1678","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2004-1678"},"updatedAt":"2024-08-08T01:00:37.089Z","retrievedAt":"2026-11-27T00:09:02.541Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-24591.png?v=2","url":"https://exploitbin.com/exploits/EDB-24591","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-24591/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-24591/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2004/https://www.securityfocus.com/bid/11160/info\n\nIt is reported that PerlDesk is susceptible to a server-side script execution vulnerability.\n\nThis vulnerability may be exploited to execute the contents of Perl scripts contained on the affected server filesystem. This will execute script code in the context of the affected CGI application, typically with the privileges of the web server process.\n\nIf a remote attacker does not have access to the affected server in a manner sufficient to place malicious a Perl script to exploit this vulnerability, they may still exploit it for information disclosure purposes. Error messages that will reportedly be displayed when PerlDesk attempts to include files requested by the attacker may contain potentially sensitive information. With sufficient knowledge of the affected system, an attacker may also cause other preexisting scripts to be executed that may also aid them in further attacks.\n\nThis vulnerability may aid the attacker in further application, or system attacks.\n\n----------------------------------------\n\nHttp://www.example.com/cgi-bin/pdesk.cgi?lang=h4x0rs%20Rul3z\nHttp://www.example.com/cgi-bin/pdesk.cgi?lang=../../../../../../../proc/version%00","sha256":"b359363a274312c49369c6c1ceae51ac8bca36a56d7b9f821e6a3f12e0ac3b86","bytes":1246,"fetchedAt":"2026-11-27T00:09:00.408Z","encoding":"utf-8 (display only; download retains original bytes)"}