Lucene search

K
wpvulndbSanjay DasWPVDB-ID:9F03BC1A-214F-451A-89FD-2CD3517E8F8A
HistorySep 20, 2022 - 12:00 a.m.

Import all XML, CSV & TXT into WordPress < 6.5.8 - Admin+ SQLi

2022-09-2000:00:00
Sanjay Das
wpscan.com
14
wordpress
sql injection
csv
xml
txt
polylang plugin

EPSS

0.001

Percentile

32.2%

The plugin does not properly sanitise and escape imported data before using them back SQL statements, leading to SQL injection exploitable by high privilege users such as admin

PoC

With the additional https://wordpress.org/plugins/polylang/ plugin installed, import a CSV with the following payload in the language_code column: en’ union select if(user_login=‘wordpress’,sleep(5),null) from wp_users#

EPSS

0.001

Percentile

32.2%

Related for WPVDB-ID:9F03BC1A-214F-451A-89FD-2CD3517E8F8A