Vulnerability record · CVE-2018-8770 · published 18 March 2018
CVE-2018-8770: Cobub Razor test scripts leak physical server paths
CCobub · Razor
Cobub Razor 0.8.0 exposes physical filesystem paths through a set of test scripts under tests/, including generate.php, several controllers/*Test.php files, fixtures, libs/ipTest.php and models/commonDbfix.php. The flaw is a CWE-200 information exposure that reveals server directory layout, which aids reconnaissance for follow-on attacks. The record does not state which specific versions beyond 0.8.0 are affected.
Description
Physical path Leakage exists in Western Bridge Cobub Razor 0.8.0 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 in tests/.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Automated analysis
medium priorityThe flaw only leaks path information (CVSS 5.3, low confidentiality impact), but public exploit code and a high EPSS score make opportunistic scanning likely.
What it is
Cobub Razor 0.8.0 exposes physical filesystem paths through a set of test scripts under tests/, including generate.php, several controllers/*Test.php files, fixtures, libs/ipTest.php and models/commonDbfix.php. The flaw is a CWE-200 information exposure that reveals server directory layout, which aids reconnaissance for follow-on attacks. The record does not state which specific versions beyond 0.8.0 are affected.
Impact
An attacker gains low-value information: the absolute filesystem paths of the application on the server. That alone does not grant code execution or data access, but it helps map the deployment and plan further exploitation.
Attack surface
Reachable over the network via HTTP requests to the listed test scripts; the CVSS vector shows no privileges and no user interaction required. The description does not state whether the tests/ directory is exposed by default or only in certain deployments.
Exploitation
Public exploit code exists (Exploit-DB 44495 and a GitHub advisory, both tagged Exploit), and EPSS is 0.59208 (99th percentile), indicating elevated likelihood of exploitation attempts. It is not listed in CISA KEV, so no confirmed in-the-wild campaign is documented in this record.
What to do
- Upgrade or patch Cobub Razor to a release that removes or fixes the tests/ scripts; the record does not name a fixed version, so confirm with the vendor.
- If no patch is available, block or remove the tests/ directory and the listed scripts from the web root.
- Restrict access to test and fixture files via web server rules (deny direct HTTP access to tests/, fixtures/, libs/ and models/ paths).
- Disable detailed error output and path disclosure in production PHP configuration.
- Monitor for requests to the listed test script paths and treat them as hostile reconnaissance.
Detection
- Search web access logs for requests to /tests/, generate.php, controllers/getConfigTest.php, getUpdateTest.php, postclientdataTest.php, posterrorTest.php, posteventTest.php, posttagTest.php, postusinglogTest.php, fixtures/Controller_fixt.php, Controller_fixt2.php, view_fixt2.php, libs/ipTest.php and models/commonDbfix.php.
- Alert on HTTP responses from those paths that contain absolute filesystem paths (e.g., /var/www, C:\ paths) or PHP warning text.
- Baseline normal traffic to the application and flag first-time or scanner-style requests to test endpoints.
- Correlate repeated hits on these paths from a single source with other reconnaissance activity.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/Kyhvedn/CVE_Description/blob/master/Cobub_Razor_0.8.0_more_physical_path_leakage.md | ExploitThird Party Advisory |
| https://www.exploit-db.com/exploits/44495/ | ExploitThird Party AdvisoryVDB Entry |
| https://github.com/Kyhvedn/CVE_Description/blob/master/Cobub_Razor_0.8.0_more_physical_path_leakage.md | ExploitThird Party Advisory |
| https://www.exploit-db.com/exploits/44495/ | ExploitThird Party AdvisoryVDB Entry |
Track CVE-2018-8770 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-8770), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.