{"exploit":{"id":"EDB-9032","name":"osTicket 1.6 RC4 - Admin Login Blind SQL Injection (SQLi)","description":"osTicket 1.6 RC4 - Admin Login Blind SQL Injection (SQLi)","cves":["CVE-2009-2361"],"author":"Adam Baldwin","published":"2009-06-29","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/9032","path":"exploits/php/webapps/9032.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-9032.txt","vulnerabilities":[{"id":"CVE-2009-2361","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in include/class.staff.php in osTicket before 1.6 RC5 allows remote attackers to execute arbitrary SQL commands via the staff username parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-2361","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-2361"},"updatedAt":"2024-08-07T05:44:56.073Z","retrievedAt":"2026-11-26T16:09:03.805Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-9032.png?v=2","url":"https://exploitbin.com/exploits/EDB-9032","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-9032/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-9032/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"nGenuity Information Services - Security Advisory\n\n   Advisory ID: NGENUITY-2009-007 osTicket Admin Login Blind SQL Injection\n   Application: osTicket v1.6 RC4\n        Vendor: osTicket\nVendor website: http://www.osticket.com\n        Author: Adam Baldwin (adam_baldwin@ngenuity-is.com)\n\n  I. BACKGROUND\n    \"osTicket is a widely-used open source support ticket system. It seamlessly\n    integrates inquiries created via email and web-based forms into a simple\n    easy to use multi-user web interface. Easily manage, organize and archive\n    all your support requests and responses in one place while providing your\n    clients with accountability and responsiveness they deserve.\" [1]\n\n  II. DETAILS\n    osTicket prior to v1.6 RC5 fails to validate / escape staff usernames which\n    can be abused to execute a blind sql injection attack by an unauthenticated\n    attacker.\n\n    The vendor has provided a new release v1.6 RC5 which addresses this vulnerability.\n    They have also provided patching instructions [2] should you be unable to perform\n    a full upgrade at this time.\n\n    One sample attack string might look similar to the following:\n    '+(SELECT IF(SUBSTRING(passwd,1,1)=CHAR(48),BENCHMARK(1000000,SHA1(1)),0) passwd\n    FROM ost_staff where staff_id=1) and '1'='1\n\n  III. REFERENCES\n    [1] - http://www.osticket.com\n    [2] - http://osticket.com/forums/project.php?issueid=118\n\n  IV. VENDOR COMMUNICATION\n    3.25.2009 - Vulnerability Discovery\n    3.25.2009 - Vendor notification & initial vendor response\n    6.26.2009 - Vendor releases fix in osTicket v1.6 RC5\n\n# milw0rm.com [2009-06-29]","sha256":"1d2b315c019392278c1a830acbf4604d9dbd5033290fac7c8e8701b7cc7c0681","bytes":1609,"fetchedAt":"2026-11-26T16:09:00.042Z","encoding":"utf-8 (display only; download retains original bytes)"}