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. 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/ 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.26342 epss-percentile: 0.96213 cpe: cpe:2.3:a:prismaindustriale:checkweigher_prismaweb:1.21:*:*:*:*:*:*:* metadata: max-request: 1 vendor: prismaindustriale product: checkweigher_prismaweb tags: cve,cve2018,prismaweb,exposure,edb 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: 4a0a00473045022037f70eca1f453a3d116fb78202e5e15fb8054a4de723978d8ef551eb6aefdd5f0221009821942ae9b28b2891cdfde10373d0c2c83fc78a2c42100820e7dc23895d47ab:922c64590222798bb761d5b6d8e72950