Critical code_pattern
Operation Demo Importer – Demo Importer For WPoperation Themes Resolved · benign_architectural_concern
2d ago
| Slug | operation-demo-importer |
|---|---|
| Pattern | unserialize_after_remote_call |
| Kind | builtin |
| Version | 1.2.0 |
| 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": "operation-demo-importer",
"pattern": "unserialize_after_remote_call",
"kind": "builtin",
"version": "1.2.0",
"hit_count": 1,
"first_hit": {
"file": "classes/importers/class-settings-importer.php",
"line": 44,
"snippet": "L28: $contents = curl_exec($ch); \u2192 L44: $data = @unserialize( $raw );"
},
"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."
}