Critical code_pattern
Resolved · audit:benign
2026-04-30 11:05:55 (2d ago)
| Slug | yet-another-related-posts-plugin |
|---|---|
| Pattern | unserialize_after_remote_call |
| Kind | builtin |
| Version | 5.30.11 |
| 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": "yet-another-related-posts-plugin",
"pattern": "unserialize_after_remote_call",
"kind": "builtin",
"version": "5.30.11",
"hit_count": 1,
"first_hit": {
"file": "classes/YARPP_Core.php",
"line": 2112,
"snippet": "L2105: $remote = wp_remote_post( \"https://yarpp.org/checkversion.php?format=php&version={$vers \u2192 L2112: if ( $result = @unserialize( $remote['body'] ) ) {"
},
"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."
}