{"exploit":{"id":"EDB-31976","name":"The Rat CMS Pre-Alpha 2 - 'viewarticle2.php?id' Cross-Site Scripting (XSS)","description":"The Rat CMS Pre-Alpha 2 - 'viewarticle2.php?id' Cross-Site Scripting (XSS)","cves":["CVE-2008-5164"],"author":"CWH Underground","published":"2008-06-26","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/31976","path":"exploits/php/webapps/31976.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-31976.txt","vulnerabilities":[{"id":"CVE-2008-5164","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple cross-site scripting (XSS) vulnerabilities in The Rat CMS Pre-Alpha 2 allow remote attackers to inject arbitrary web script or HTML via the (1) id parameter to (a) viewarticle.php and (b) viewarticle2.php and the (2) PATH_INFO to viewarticle.php.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-5164","cvss":{"version":"2.0","baseScore":4.3,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-5164"},"updatedAt":"2024-08-07T10:40:17.188Z","retrievedAt":"2026-11-27T14:19:53.584Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-31976.png?v=2","url":"https://exploitbin.com/exploits/EDB-31976","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-31976/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-31976/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2008/https://www.securityfocus.com/bid/29959/info\n\nThe Rat CMS is prone to multiple input-validation vulnerabilities, including SQL-injection issues and cross-site scripting issues, because it fails to sufficiently sanitize user-supplied data.\n\nExploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.\n\n----------------------------------------\n\nThe Rat CMS Pre-Alpha 2 is vulnerable; other versions may also be affected.\n\nhttp://www.example.com/[trcms_path]/viewarticle2.php?id=<XSS>","sha256":"9a87952a8a7955dd66a9f7b0cc126f77e4739bd59a23fa44a88d7d8f54f28eb1","bytes":673,"fetchedAt":"2026-11-27T14:10:47.504Z","encoding":"utf-8 (display only; download retains original bytes)"}