
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2020-12735 affects DomainMOD version 4.13.0, specifically in the reset.php functionality. The vulnerability was discovered and reported on May 2, 2020. The issue involves insufficient entropy in password reset requests, which could potentially lead to account takeover (GitHub Issue).
The vulnerability exists in the password reset mechanism where the application uses PHP's time() function to derive new passwords. The reset functionality creates temporary passwords using the first 8 characters of an MD5 hash of the current Unix timestamp, making the password generation process deterministic and predictable. The affected code uses the pattern $new_password = substr(md5(time()), 0, 8) to generate new passwords (GitHub Issue).
The vulnerability allows attackers to predict the temporary password generated during a password reset process. This could lead to unauthorized account access and potential account takeover, including administrative accounts since 'admin' is a default user in the application (GitHub Issue).
The vulnerability is exploitable by knowing a valid username or email address in the system. An attacker can trigger the password reset functionality and reliably determine the new password due to the deterministic nature of the password generation process. A proof-of-concept exploit has been demonstrated using Python script that can successfully predict the generated password (GitHub Issue).
The recommended mitigation is to modify the password generation mechanism to use cryptographically secure random numbers instead of time-based values. The suggested fix is to implement $new_password = substr(md5(random_int(0, time())), 0, 8) to increase entropy in the password generation process (GitHub Issue).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."