HexBrain

Browse / CVEs / CVE-2018-8770

CVE-2018-8770· cobub / razor· CWE-200

Cobub Razor 0.8.0 - Information Disclosure

mediumseverity
5.3CVSS score
59.2%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

Cobub Razor 0.8.0 is susceptible to information disclosure via generate.php, controllers/getConfigTest.php, controllers/getUpdateTest.php, controllers/postclientdataTest.php, controllers/posterrorTest.php, controllers/posteventTest.php, controllers/posttagTest.php, controllers/postusinglogTest.php, fixtures/Controller_fixt.php, fixtures/Controller_fixt2.php, fixtures/view_fixt2.php, libs/ipTest.php, or models/commonDbfix.php. An attacker can obtain sensitive information, modify data, and/or execute unauthorized operations.

Impact

An attacker can exploit this vulnerability to gain sensitive information.

Fix

Upgrade to a patched version of Cobub Razor.

How to confirm it

Send: GET {{BaseURL}}/tests/generate.php
Positive when: contains in header "Fatal error: Class 'PHPUnit_Framework_TestCase' not found in" and "/application/third_party/CIUnit/libraries/CIUnitTestCase.ph…" AND status 200

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

The full check
id: CVE-2018-8770

info:
  name: Cobub Razor 0.8.0 - Information Disclosure
  author: princechaddha
  severity: medium
  description: Cobub Razor 0.8.0 is susceptible to information disclosure via generate.php, controllers/getConfigTest.php, controllers/getUpdateTest.php, controllers/postclientdataTest.php, controllers/posterrorTest.php, controllers/posteventTest.php, controllers/posttagTest.php, controllers/postusinglogTest.php, fixtures/Controller_fixt.php, fixtures/Controller_fixt2.php, fixtures/view_fixt2.php, libs/ipTest.php, or models/commonDbfix.php. An attacker can obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to gain sensitive information.
  remediation: |
    Upgrade to a patched version of Cobub Razor.
  reference:
    - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8770
    - https://www.exploit-db.com/exploits/44495/
    - https://github.com/Kyhvedn/CVE_Description/blob/master/Cobub_Razor_0.8.0_more_physical_path_leakage.md
    - https://nvd.nist.gov/vuln/detail/CVE-2018-8770
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2018-8770
    cwe-id: CWE-200
    epss-score: 0.59208
    epss-percentile: 0.99125
    cpe: cpe:2.3:a:cobub:razor:0.8.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: cobub
    product: razor
  tags: cve,cve2018,cobub,razor,exposure,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/tests/generate.php"

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "Fatal error: Class 'PHPUnit_Framework_TestCase' not found in "
          - "/application/third_party/CIUnit/libraries/CIUnitTestCase.php on line"
        condition: and

      - type: status
        status:
          - 200

References

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