Unauthenticated password-hash disclosure via unescaped username regex
Published Mar 10, 2020 · Updated Aug 4, 2024
Information disclosure in WAGO PFC100 and PFC200 firmware FW05 through FW14 allows remote attackers to extract WBM password hashes. PasswordCorrect() inserts the supplied username directly into preg_match(), allowing regex metacharacters to match an account line and expose its salt through response timing. Unauthenticated WBM access and repeated crafted login requests are sufficient to recover a salt and password hash for offline password cracking.
Summary
What happened
Information disclosure in WAGO PFC100 and PFC200 firmware FW05 through FW14 allows remote attackers to extract WBM password hashes. PasswordCorrect() inserts the supplied username directly into preg_match(), allowing regex metacharacters to match an account line and expose its salt through response timing. Unauthenticated WBM access and repeated crafted login requests are sufficient to recover a salt and password hash for offline password cracking.
The record
- CVE
- CVE-2019-5134
- Published
- Mar 10, 2020
- Updated
- Aug 4, 2024
- Vendor
- WAGO
- Product
- WAGO PFC100 Firmware
- Classifications
- CWE-777, CWE-200, T1555
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 10, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=version 03.00.39(12)
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Cisco Talos username-regex timing proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo