MySQL-interface is a standalone web-based database administration tool — a single PHP file that provides a browser UI for running SQL queries, browsing tables, and managing database structures. In this corpus, the file has been poisoned by the W0rm redistributor: a pre-auth RCE backdoor (?cmd=) fires at global scope before any panel authentication, giving any visitor full command execution regardless of the panel’s own login gate.
Capabilities
MySQL-interface appears at a specific stage in the post-access workflow. Config grabbers (wp-config readers, Joomla configuration extractors, Laravel .env dumpers) harvest database credentials from application configuration files. The operator now has a hostname, username, and password — but no interface to use them. MySQL-interface provides that interface: upload one PHP file, edit the hardcoded connection parameters, and gain full interactive access to the database through a browser.
The tool is deployed alongside webshells but serves a different purpose. A webshell provides system-level command execution; MySQL-interface provides structured database access — table browsing, query execution, data export. Operators use it when they need to dump user tables, extract stored credentials, modify application data, or insert backdoor admin accounts into CMS databases.
Vulnerabilities
The distinctive finding is the configuration model itself. Database credentials are hardcoded directly in the PHP source — host, username, password in plaintext. The operator edits the file, uploads it, and connects. This means anyone with read access to the PHP file (another webshell on the same host, a directory listing misconfiguration, a backup archive) immediately obtains the database credentials. The tool’s own design creates a secondary credential exposure — the credentials it uses are only as secure as the web-accessible directory it sits in.
| # | Class | Impact | Status |
|---|---|---|---|
| 1 | W0rm supply-chain backdoor at global scope | Pre-auth RCE via GET parameter | Confirmed |
| 2 | Hardcoded panel credentials (tryag_vb / 102030) | Panel takeover by any visitor | Confirmed |
| 3 | extract($HTTP_POST_VARS) variable injection | Arbitrary variable overwrite | Confirmed |
The W0rm backdoor is the dominant finding. The panel’s own authentication is moot — the backdoor executes before the login check and provides full command execution to any HTTP request carrying the cmd parameter. The hardcoded credentials and variable injection are additional attack surface, but secondary to the supply-chain compromise.
Detection Surface
File-system indicators
| Indicator | Type | Detail |
|---|---|---|
| Expected size | ~38 KB | |
tryag_vb / 102030 | Strings | Hardcoded panel credentials |
extract($HTTP_POST_VARS) | Code pattern | register_globals emulation |
mysql_connect / mysql_query | Functions | MySQL admin interface |
| Runtime | PHP 5.x-8.x |
HTTP access-log indicators
| Log pattern | What it means |
|---|---|
Default credentials: tryag_vb / 102030 | Hardcoded in cleartext |
extract($HTTP_POST_VARS) | register_globals emulation — arbitrary variable injection |
| Standard MySQL admin interface | phpMyAdmin-like UI |
YARA rule
rule tool_mysql_interface {
meta:
description = "MySQL-interface web admin with W0rm supply-chain backdoor (tryag_vb variant)"
author = "OHIIHO Threat Research"
reference = "https://research.ohiiho.com/arsenal/mysql-interface/"
status = "validated"
strings:
$extract = "extract($HTTP_POST_VARS)" ascii
$cred_user = "tryag_vb" ascii
$cred_pass = "102030" ascii
$mysql_q = "mysql_query" ascii
$mysql_conn = "mysql_connect" ascii
condition:
filesize < 60KB
and ($extract or ($cred_user and $cred_pass))
and ($mysql_q or $mysql_conn)
}
W0rm-infected variants are also caught by the generic W0rm supply-chain rule — see the W0rm supply-chain detection applicable to all infected tools.
MITRE ATT&CK
| Technique | Context |
|---|---|
| T1505.003 | Web Shell |
| T1078.001 | Valid Accounts: Default Accounts (hardcoded credentials in source) |
| T1059.004 | Command and Scripting Interpreter: Unix Shell (W0rm exec($cmd)) |
| T1195.002 | Supply Chain Compromise: Compromise Software Supply Chain |
OHIIHO Threat Research.
