Home

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.

PUBLISHED Reserved 2025-04-15 | Published 2025-07-10 | Updated 2026-04-07 | Assigner VulnCheck




CRITICAL: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-306 Missing Authentication for Critical Function

CWE-20 Improper Input Validation

Product status

Default status
unaffected

unspecified PHP versions (custom) before ASP.NET rewrite (2009)
affected

Credits

Mehmet Ince finder

References

pentest.blog/...tolog-unauthenticated-remote-code-execution/ third-party-advisory exploit technical-description

raw.githubusercontent.com/...ypttech_cryptolog_login_exec.rb exploit

vulncheck/advisories/cryptolog-unauthenticated-rce third-party-advisory

www.exploit-db.com/exploits/41980 exploit

cve.org (CVE-2025-34102)

nvd.nist.gov (CVE-2025-34102)

Download JSON