Critical code_pattern
Resolved · fp_safe_unserialize_allowed_classes_false
2026-06-06 05:51:09 (6d ago)
| Slug | speedy-go |
|---|---|
| Pattern | unserialize_after_remote_call |
| Kind | builtin |
| Version | 2.1.1 |
| Hit count | 1 |
| First hit |
|
| Explanation | a remote HTTP fetch (`wp_remote_*` / `curl_exec`) is followed by `@unserialize` within the same file — classic PHP Object Injection C2 gadget. The error-suppressed form is the tell: legit code wants to know when deserialize fails; attackers suppress so malformed gadgets do not leak. A real finding regardless of author intent: any plugin that deserializes remote responses without validation is a latent RCE chain if the remote endpoint is ever compromised. |
View raw JSON
{
"slug": "speedy-go",
"pattern": "unserialize_after_remote_call",
"kind": "builtin",
"version": "2.1.1",
"hit_count": 1,
"first_hit": {
"file": "includes/api-key-api.php",
"line": 298,
"snippet": "L290: $resbody = wp_remote_retrieve_body($response); \u2192 L298: while (is_string($opts) && @unserialize($opts, ['allowed_classes' => false]) !== false)"
},
"explanation": "a remote HTTP fetch (`wp_remote_*` / `curl_exec`) is followed by `@unserialize` within the same file \u2014 classic PHP Object Injection C2 gadget. The error-suppressed form is the tell: legit code wants to know when deserialize fails; attackers suppress so malformed gadgets do not leak. A real finding regardless of author intent: any plugin that deserializes remote responses without validation is a latent RCE chain if the remote endpoint is ever compromised."
}