Lucene search

K
wpexploitRSolutions Security TeamWPEX-ID:7A0BDD47-C339-489D-9443-F173A83447F2
HistoryMay 08, 2023 - 12:00 a.m.

HollerBox < 2.1.4 - Admin+ SQL Injection

2023-05-0800:00:00
rSolutions Security Team
61
hollerbox
sql injection
admin
vulnerability
/wp-json/hollerbox/report

0.001 Low

EPSS

Percentile

29.8%

The plugin concatenates user input into an SQL query without escaping it first in the plugin’s report API endpoint, which could allow administrators in multi-site configuration to leak sensitive information from the site’s database.

1. Login as admin
2. Make sure HollerBox is installed and activated
3. From the /wp-admin/ page, navigate to HollerBox->Reports. Intercept the subsequent requests with a proxy.
4. Forward requests until the GET request for the following endpoint is intercepted: "/wp-json/hollerbox/report?before=<date>&after=<date>"
5. Modify the URL to be: /wp-json/hollerbox/report?before=&after='+UNION+SELECT+1,SLEEP(5),3,4,'5
6. Forward the request. The application will wait 5 seconds to respond due to the SLEEP(5) SQL function.

0.001 Low

EPSS

Percentile

29.8%

Related for WPEX-ID:7A0BDD47-C339-489D-9443-F173A83447F2