Critical code_pattern
Joomla 1.5 Importer Resolved · direct_mysqli_legit_purpose_joomla_db_import
1mo ago
| Slug | joomla-15-importer |
|---|---|
| Pattern | direct_mysqli_connect |
| Kind | builtin |
| Version | 1.0.0 |
| Hit count | 2 |
| First hit |
|
| Explanation | plugin instantiates `new mysqli($var['host'], ...)` — a direct MySQL connection bypassing `$wpdb`. Legitimate WordPress plugins always go through `$wpdb` (which already has the connection); a raw `mysqli` connect using parsed wp-config credentials is the credential-harvesting backdoor shape. |
View raw JSON
{
"slug": "joomla-15-importer",
"pattern": "direct_mysqli_connect",
"kind": "builtin",
"version": "1.0.0",
"hit_count": 2,
"first_hit": {
"file": "joomla-15-importer.php",
"line": 177,
"snippet": "$db = new mysqli( $db_info[ 'hostname' ], $db_info[ 'username' ], $db_info[ 'password' ], $db_info[ 'database' ], $db_info[ 'port' ] );"
},
"explanation": "plugin instantiates `new mysqli($var['host'], ...)` \u2014 a direct MySQL connection bypassing `$wpdb`. Legitimate WordPress plugins always go through `$wpdb` (which already has the connection); a raw `mysqli` connect using parsed wp-config credentials is the credential-harvesting backdoor shape."
}