Critical code_pattern
Resolved · fp_legacy_code_pattern_lowinstalls
2026-10-06 05:05:49 (15d ago)
| Slug | mowster-tags |
|---|---|
| Pattern | unserialize_after_remote_call |
| Kind | builtin |
| Version | 1.71 |
| 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": "mowster-tags",
"pattern": "unserialize_after_remote_call",
"kind": "builtin",
"version": "1.71",
"hit_count": 1,
"first_hit": {
"file": "functions.php",
"line": 58,
"snippet": "L54: $request = wp_remote_post('http://wordpress.mowster.net/'.$action, $args); \u2192 L58: $response = @unserialize(wp_remote_retrieve_body($request));"
},
"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."
}