CVE-2018-25299
8.4Prime95 · Mersenne Prime95
A local buffer overflow vulnerability in Prime95 version 29.4b8 allows attackers to execute arbitrary code via a crafted proxy hostname string in PrimeNet connection settings.
Executive summary
A local buffer overflow vulnerability in Prime95 version 29.4b8 allows attackers to achieve arbitrary code execution by leveraging insecure handling of proxy configuration strings.
Vulnerability
This is a stack-based buffer overflow (CWE-120) triggered when the application fails to validate the size of input provided to the proxy hostname field in PrimeNet settings. The vulnerability requires no authentication as it is triggered locally by a user or an attacker with access to the application interface.
Business impact
The ability to execute arbitrary system commands poses a significant risk to the integrity and security of the host system. Given the CVSS score of 8.4, this vulnerability is classified as High severity, as successful exploitation results in full system control for the attacker, potentially leading to unauthorized data access, malware installation, or persistent system compromise.
Remediation
Immediate Action: Users should immediately update to the latest available version of Prime95, as the identified version 29.4b8 is confirmed vulnerable.
Proactive Monitoring: Security teams should monitor endpoint logs for suspicious child processes spawned by the Prime95 application, such as command shells or unauthorized utilities.
Compensating Controls: Ensure that the application is executed with the least privilege necessary, and utilize endpoint protection software to block unauthorized execution of binaries from non-standard directories.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists in the form of an Exploit-DB entry (EDB-ID 44649).
Analyst recommendation
The presence of a functional proof-of-concept makes this vulnerability a credible threat to any environment where this specific version of Prime95 is deployed. Administrators must prioritize updating the software to a patched release or restricting access to the application configuration settings to prevent unauthorized local manipulation.
More Prime95 CVEs
Sources
Originally found and disclosed by crash_manucoot, per the CVE Program record.
- ExploitDB-44649 Exploit / PoC
- Official Product Homepage
- Product Reference
- VulnCheck Advisory: Prime95 29.4b8 Local Buffer Overflow via SEH Third-party advisory