CVE-2018-9161

9.8 CRITICAL

📋 TL;DR

CVE-2018-9161 is a hardcoded credential vulnerability in PrismaWEB software that exposes the default 'prisma' password in a JavaScript file. This allows remote attackers to gain unauthorized access to affected systems. Organizations using Prisma Industriale Checkweigher PrismaWEB version 1.21 are affected.

💻 Affected Systems

Products:
  • Prisma Industriale Checkweigher PrismaWEB
Versions: 1.21
Operating Systems: Unknown - Likely embedded/industrial OS
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default installation with hardcoded credentials.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise allowing attackers to manipulate industrial weighing systems, disrupt production lines, or use the system as an entry point to broader industrial networks.

🟠

Likely Case

Unauthorized access to the PrismaWEB interface allowing configuration changes, data manipulation, or system disruption.

🟢

If Mitigated

Limited impact if systems are isolated from untrusted networks and access controls are properly implemented.

🌐 Internet-Facing: HIGH - Systems exposed to the internet can be easily discovered and exploited by any attacker.
🏢 Internal Only: MEDIUM - Internal attackers or compromised internal systems could exploit this vulnerability.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: CONFIRMED
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires only reading the JavaScript file and using the discovered credentials.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Unknown

Restart Required: No

Instructions:

1. Contact Prisma Industriale for updated software version
2. Remove or modify the user/scripts/login_par.js file
3. Change default credentials immediately

🔧 Temporary Workarounds

Remove Exposed Credentials File

all

Delete or rename the vulnerable JavaScript file containing hardcoded credentials

rm /path/to/user/scripts/login_par.js
mv /path/to/user/scripts/login_par.js /path/to/user/scripts/login_par.js.bak

Change Default Credentials

all

Immediately change the default 'prisma' password to a strong, unique password

🧯 If You Can't Patch

  • Network segmentation: Isolate PrismaWEB systems from untrusted networks and internet access
  • Implement strict access controls: Restrict network access to only authorized IP addresses and users

🔍 How to Verify

Check if Vulnerable:

Check if file user/scripts/login_par.js exists and contains the hardcoded 'prisma' password

Check Version:

Check PrismaWEB interface or documentation for version information

Verify Fix Applied:

Verify the login_par.js file no longer exists or contains hardcoded credentials, and test authentication with old credentials fails

📡 Detection & Monitoring

Log Indicators:

  • Failed login attempts followed by successful logins with 'prisma' username
  • Unauthorized access to user/scripts/login_par.js file

Network Indicators:

  • Unauthorized access to PrismaWEB web interface
  • Traffic to login_par.js file from unexpected sources

SIEM Query:

source="prismaweb" AND (event="login" AND user="prisma") OR (url="*/user/scripts/login_par.js")

🔗 References

📤 Share & Export