CVE-2025-34102
CRITICALCryptoLog PHP - Unauthenticated Remote Code Execution via SQL Injection and Command Injection
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2025-34102.
PoCs published by Mehmet Ince, Mehmet Ince <[email protected]>, including Metasploit module exploits/linux/http/crypttech_cryptolog_login_exec.
AI-analyzed exploit summary This Metasploit module exploits an SQL injection vulnerability in the login process to bypass authentication and then leverages a command injection flaw in the logshares_ajax.php endpoint to achieve remote code execution. The exploit chains these vulnerabilities to execute arbitrary commands under the context of the web user.
Description
A remote code execution vulnerability exists in CryptoLog (PHP version, discontinued since 2009) due to a chained exploitation of SQL injection and command injection vulnerabilities. An unauthenticated attacker can gain shell access as the web server user by first exploiting a SQL injection flaw in login.php to bypass authentication, followed by command injection in logshares_ajax.php to execute arbitrary operating system commands. The login bypass is achieved by submitting crafted SQL via the user POST parameter. Once authenticated, the attacker can abuse the lsid POST parameter in the logshares_ajax.php endpoint to inject and execute a command using $(...) syntax, resulting in code execution under the web context. This exploitation path does not exist in the ASP.NET version of CryptoLog released since 2009.
Exploits (2)
This Metasploit module exploits an SQL injection vulnerability in the login process to bypass authentication and then leverages a command injection flaw in the logshares_ajax.php endpoint to achieve remote code execution. The exploit chains these vulnerabilities to execute arbitrary commands under the context of the web user.
This Metasploit module exploits a SQL injection in the login process to bypass authentication and a command injection in the logshares_ajax.php endpoint to achieve remote code execution. It combines these vulnerabilities to execute arbitrary commands under the context of the web user.
References (4)
Scores
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N