CVE-2018-9161: PrismaWEB - Credentials Disclosure
- Template: CVE-2018-9161
- Name: PrismaWEB - Credentials Disclosure
- Description: PrismaWEB is susceptible to credential disclosure. The vulnerability exists due to the disclosure of hard-coded credentials allowing an attacker to effectively bypass authentication of PrismaWEB with administrator privileges. The credentials can be disclosed by simply navigating to the login_par.js JavaScript page that holds the username and password for the management interface that are being used via the Login() function in /scripts/functions_cookie.js script.
- Impact: An attacker could gain unauthorized access to the application and potentially compromise user accounts and sensitive data.
- Remediation: Ensure that sensitive credentials are properly protected and not exposed in the application's source code or configuration files.
- Severity: critical
- Authors: gy741
- Tags: cve2018, cve, prismaweb, exposure, edb, prismaindustriale, vuln
- References: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2018-5453.php, https://nvd.nist.gov/vuln/detail/CVE-2018-9161, https://www.exploit-db.com/exploits/44276/, https://github.com/ARPSyndicate/kenzer-templates
- Cves: CVE-2018-9161
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2018/CVE-2018-9161.yaml
- Digest: 4a0a0047304502203411bde1be3923122240380d878a8f84ade60e096434f1401088bc16543f99e0022100fbe53558c9f2f13f4c0800afacda175ee386e5419c0e9ec1e10180341ebfbb6b
- Created at: 2022-02-24T18:56:25Z
- Updated at: 2026-11-21T02:03:58Z
- Age in days: 1734
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-9161.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-798
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.56707
- Epss percentile: 0.99085
- Cpe: cpe:2.3:a:prismaindustriale:checkweigher_prismaweb:1.21:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: checkweigher_prismaweb
- Vendor: prismaindustriale
Products
| Product | Indexed | Url |
|---|---|---|
| prismaindustriale:checkweigher_prismaweb | yes | /v1/products/prismaindustriale/checkweigher_prismaweb |
Labels
- Name: PrismaWEB - Broken Authentication
- Impact: Attackers can bypass authentication and gain administrator privileges, leading to full system control.
- Remediation: Remove hardcoded credentials and implement secure authentication mechanisms.
- Vulnerability type: hardcoded_credentials
- Vulnerability impact: privilege_escalation, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2018-9161
- Not known: requirements
```yaml
id: CVE-2018-9161
info:
name: PrismaWEB - Credentials Disclosure
author: gy741
severity: critical
description: PrismaWEB is susceptible to credential disclosure. The vulnerability exists due to the disclosure of hard-coded credentials allowing an attacker to effectively bypass authentication of PrismaWEB with administrator privileges. The credentials can be disclosed by simply navigating to the login_par.js JavaScript page that holds the username and password for the management interface that are being used via the Login() function in /scripts/functions_cookie.js script.
impact: |
An attacker could gain unauthorized access to the application and potentially compromise user accounts and sensitive data.
remediation: |
Ensure that sensitive credentials are properly protected and not exposed in the application's source code or configuration files.
reference:
- https://www.zeroscience.mk/en/vulnerabilities/ZSL-2018-5453.php
- https://nvd.nist.gov/vuln/detail/CVE-2018-9161
- https://www.exploit-db.com/exploits/44276/
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2018-9161
cwe-id: CWE-798
epss-score: 0.56707
epss-percentile: 0.99085
cpe: cpe:2.3:a:prismaindustriale:checkweigher_prismaweb:1.21:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: prismaindustriale
product: checkweigher_prismaweb
tags: cve2018,cve,prismaweb,exposure,edb,prismaindustriale,vuln
http:
- method: GET
path:
- "{{BaseURL}}/user/scripts/login_par.js"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'txtChkUser'
- 'txtChkPassword'
condition: and
- type: status
status:
- 200
digest: 4a0a0047304502203411bde1be3923122240380d878a8f84ade60e096434f1401088bc16543f99e0022100fbe53558c9f2f13f4c0800afacda175ee386e5419c0e9ec1e10180341ebfbb6b:922c64590222798bb761d5b6d8e72950
```