shanti
Verified User
Hello,
I had a dissapointing moment lately where a customer's wordpress (7.0.1) had been hacked by the infamous webshell (circling around)
quick symptoms were:
(which gives me the creeps)
WPscan output:
and the IMHO worst part:
the original database (mysql) dissappeared and 2 new ones where created.
my question now:
HOW could those databases been created ?
I had a dissapointing moment lately where a customer's wordpress (7.0.1) had been hacked by the infamous webshell (circling around)
quick symptoms were:
- email-bounces
- at least private_html/.htaccess was set immuteable
- several .htaccess-files planted everwhere over public_html
- i have seen files created outside of public_html :-o
Code:
~/domains/filefuns.php
- several new wp-users
Code:
$ wp user list
+----+-----------------+-----------------+-----------------------------+---------------------+------------------+
| ID | user_login | display_name | user_email | user_registered | roles |
+----+-----------------+-----------------+-----------------------------+---------------------+------------------+
| 15 | Nx_2219b90b8401 | Nx_2219b90b8401 | [email protected] | 2026-07-23 00:53:09 | administrator |
| 18 | Nx_246c412408f3 | Nx_246c412408f3 | [email protected] | 2026-07-23 06:19:34 | administrator |
| 11 | Nx_2d86913dae7f | Nx_2d86913dae7f | [email protected] | 2026-07-22 16:11:13 | administrator |
| 19 | Nx_469a97b1c49a | Nx_469a97b1c49a | [email protected] | 2026-07-23 10:11:52 | administrator |
| 9 | Nx_5b27e4ed9005 | Nx_5b27e4ed9005 | [email protected] | 2026-07-22 05:08:42 | administrator |
| 12 | Nx_7da4145078db | Nx_7da4145078db | [email protected] | 2026-07-22 20:21:52 | administrator |
| 10 | Nx_d9376bb5188c | Nx_d9376bb5188c | [email protected] | 2026-07-22 15:30:10 | administrator |
| 13 | Nx_dc282526b447 | Nx_dc282526b447 | [email protected] | 2026-07-22 23:33:14 | administrator |
| 16 | Nx_e2d1e93367bc | Nx_e2d1e93367bc | [email protected] | 2026-07-23 03:44:02 | administrator |
| 17 | Nx_ee40fd7d8812 | Nx_ee40fd7d8812 | [email protected] | 2026-07-23 06:05:00 | administrator |
| 14 | Nx_f340a3d389e4 | Nx_f340a3d389e4 | [email protected] | 2026-07-23 00:18:35 | administrator |
| 8 | upgrades | upgrades | [email protected] | 2026-07-21 14:59:21 | administrator |
| 5 | wpadmin0du | wpadmin0du | [email protected] | 2026-07-20 10:32:45 | administrator |
| 7 | wpadmin3Su | wpadmin3Su | [email protected] | 2026-07-21 07:33:24 | administrator |
| 6 | wpadminVUU | wpadminVUU | [email protected] | 2026-07-20 10:33:45 | administrator |
+----+-----------------+-----------------+-----------------------------+---------------------+------------------+
WPscan output:
Code:
| [!] 2 vulnerabilities identified:
|
| [!] Title: WP < 7.0.2 - Facilitated SQLi
| Fixed in: 7.0.2
| References:
| - https://wpscan.com/vulnerability/82a6c423-547b-4910-aea5-044070b08949
| - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-60137
| - https://wordpress.org/news/2026/07/wordpress-7-0-2-release/
| - https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-2mjf
|
| [!] Title: WordPress < 7.0.2 - REST API batch-route confusion and SQLi to RCE
| Fixed in: 7.0.2
| References:
| - https://wpscan.com/vulnerability/73310d64-e790-4a78-ab0a-12995b762dba
| - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-63030
| - https://wordpress.org/news/2026/07/wordpress-7-0-2-release/
| - https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-ff9f-jf42-662q
and the IMHO worst part:
the original database (mysql) dissappeared and 2 new ones where created.
my question now:
HOW could those databases been created ?
Last edited: