An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. The Ticket creation form allows users to upload files along with queries. It was found that the file-upload functionality has fewer (or no) mitigations implemented for file content checks; also, the output is not handled properly, causing persistent XSS that leads to cookie stealing or malicious actions. For example, a non-agent user can upload a .html file, and Content-Disposition will be set to inline instead of attachment.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:enhancesoft:osticket:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.10.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:enhancesoft:osticket:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.12"
},
{
"fixed": "1.12.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "33ed106b1602f559a660a69f931a9d873685d1ba"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.10.7",
"range": [
{
"fixed": "dca01e13d14c423e0dc31f59c56c8d7fdf99a9da"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v1.12.1",
"range": [
{
"fixed": "a8c4f57b19278cf11064f007b7a323f89fae45ff"
}
],
"source": "REFERENCES_TAG"
}
]
}