Critical code_pattern
Nexter Extension – Security, Performance, Code Snippets & Site Toolkit (10k+ installs)
Resolved
6mo ago
| Slug | nexter-extension |
|---|---|
| Pattern | unserialize_after_remote_call |
| Kind | builtin |
| Version | 4.6.8 |
| Hit count | 2 |
| 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": "nexter-extension",
"pattern": "unserialize_after_remote_call",
"kind": "builtin",
"version": "4.6.8",
"hit_count": 2,
"first_hit": {
"file": "include/panel-settings/class-nxt-panel-ajax-router.php",
"line": 779,
"snippet": "L769: $response = wp_remote_post($theme_api_url, $args); \u2192 L779: $theme_info = @unserialize( $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."
}