{"exploit":{"id":"EDB-47225","name":"osTicket 1.12 - Authenticated Formula Injection","description":"osTicket 1.12 - Authenticated Formula Injection","cves":["CVE-2019-14749"],"author":"Aishwarya Iyer","published":"2019-08-12","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/47225","path":"exploits/php/webapps/47225.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-47225.txt","vulnerabilities":[{"id":"CVE-2019-14749","state":"PUBLISHED","title":null,"titleSource":null,"description":"An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. CSV (aka Formula) injection exists in the export spreadsheets functionality. These spreadsheets are generated dynamically from unvalidated or unfiltered user input in the Name and Internal Notes fields in the Users tab, and the Issue Summary field in the tickets tab. This allows other agents to download data in a .csv file format or .xls file format. This is used as input for spreadsheet applications such as Excel and OpenOffice Calc, resulting in a situation where cells in the spreadsheets can contain input from an untrusted source. As a result, the end user who is accessing the exported spreadsheet can be affected.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2019-14749","cvss":{"version":"3.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2019-14749"},"updatedAt":"2024-08-05T00:26:38.362Z","retrievedAt":"2026-11-26T16:08:50.830Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-47225.png?v=2","url":"https://exploitbin.com/exploits/EDB-47225","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-47225/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-47225/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: osTicket-v1.12 Formula Injection\n# Vendor Homepage: https://osticket.com/\n# Software Link: https://osticket.com/download/\n# Exploit Author: Aishwarya Iyer\n# Contact: https://twitter.com/aish_9524\n# Website: https://about.me/aish_iyer\n# Category: webapps\n# CVE: CVE-2019-14749\n\n1. Description\n\n\nAn issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1.\nCSV (aka Formula) injection exists in the export spreadsheets\nfunctionality. These spreadsheets are generated dynamically from\nunvalidated or unfiltered user input in the Name and Internal Notes fields\nin the Users tab, and the Issue Summary field in the tickets tab. This\nallows other agents to download data in a .csv file format or .xls file\nformat. This is used as input for spreadsheet applications such as Excel\nand OpenOffice Calc, resulting in a situation where cells in the\nspreadsheets can contain input from an untrusted source. As a result, the\nend user who is accessing the exported spreadsheet can be affected.\n\nhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14749\n\n2. Proof of Concept\n\nSteps to Reproduce:\n- Login as an agent and under the \"Users\" section create a new user.\n- Insert the crafted payload of Formula Injection into \"Name\" and \"Internal\nNotes\" field.\n- Login as another agent and under the Users tab, click on export and then\nsave the \".csv\" file.\n- It is observed that the payload gets executed in excel and this leads to\nremote code execution.\n- Not just an agent, even a non-agent user has the option to edit his name\nwhere he can insert the malicious payload of Formula Injection.\n- The application does not sanitize the inputs here due to which when the\nagent clicks on export the payload gets executed.\n-The same issue persisted in the \"Issue Summary\" field in the tickets tab.\n\n3. Reference\n\nhttps://github.com/osTicket/osTicket/commit/99818486c5b1d8aa445cee232825418d6834f249\nhttps://github.com/osTicket/osTicket/releases/tag/v1.12.1\nhttps://github.com/osTicket/osTicket/releases/tag/v1.10.7\n\n4. Solution\n\nThe vulnerability has been patched by the vendor in the next release which\nis osTicket v1.10.7.","sha256":"88cd0a273f8239bb25ddc03d276560ae9aa5b69be1bae6b827fd1741b10aba54","bytes":2134,"fetchedAt":"2026-11-26T16:08:50.094Z","encoding":"utf-8 (display only; download retains original bytes)"}