CVE-2025-34102 Details
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.
A remote code execution vulnerability has been identified in the PHP version of CryptoLog, a log management application. This vulnerability arises from a combination of SQL injection and command injection flaws, allowing an unauthenticated attacker to gain shell access as the web server user. The exploitation begins by leveraging a SQL injection vulnerability in 'login.php' to bypass authentication, followed by a command injection vulnerability in 'logshares_ajax.php' to execute arbitrary operating system commands. The SQL injection is achieved by injecting crafted SQL into the 'user' POST parameter, which is then used to authenticate the user. Once authenticated, the attacker can exploit the 'lsid' POST parameter in the 'logshares_ajax.php' endpoint to inject and execute commands using the command substitution syntax, resulting in code execution under the context of the web user.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 10, 2025CISA-ADP
Assessed Jul 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://pentest.blog/advisory-cryptolog-unauthenticated-remote-code-execution/ | [email protected] | AdvisoryExploitRemedyTechnical Description |
| https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/crypttech_cryptolog_login_exec.rb | [email protected] | ExploitSource Code |
| https://vulncheck/advisories/cryptolog-unauthenticated-rce | [email protected] | AdvisoryBroken Link |
| https://www.exploit-db.com/exploits/41980 | [email protected] | Exploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Crypttech CryptoLog | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 10, 2025 | New CVE Received | [email protected] |
Volerion