Critical code_pattern
Resolved · audit:malicious
2026-04-27 11:03:30 (5d ago)
| Slug | portfolio-and-projects |
|---|---|
| Pattern | unserialize_after_remote_call |
| Kind | builtin |
| Version | 1.5.6.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": "portfolio-and-projects",
"pattern": "unserialize_after_remote_call",
"kind": "builtin",
"version": "1.5.6.1",
"hit_count": 1,
"first_hit": {
"file": "wpos-analytics/includes/class-anylc-admin.php",
"line": 696,
"snippet": "L690: $data = @file_get_contents($url); \u2192 L696: $info = @unserialize($data);"
},
"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."
}