Critical code_pattern
Ninja Forms – The Contact Form Builder That Grows With You Resolved · no_longer_matches
7d ago
| Slug | ninja-forms |
|---|---|
| Pattern | unserialize_after_remote_call |
| Kind | builtin |
| Version | 3.14.2 |
| Hit count | 5 |
| First hit |
|
| Explanation | a remote HTTP fetch (`wp_remote_*`/`curl_exec`/`file_get_contents`) is followed by `@unserialize` within the same file — classic PHP Object Injection C2 gadget used by EP and most WP supply-chain backdoors. The error-suppressed form is the tell: legit code wants to know when deserialize fails; attackers suppress so malformed gadgets do not leak. |
View raw JSON
{
"slug": "ninja-forms",
"pattern": "unserialize_after_remote_call",
"kind": "builtin",
"version": "3.14.2",
"hit_count": 5,
"first_hit": {
"file": "includes/Admin/Menus/ImportExport.php",
"line": 128,
"snippet": "L111: $import = file_get_contents( $_FILES[ 'nf_import_fields' ][ 'tmp_name' ] ); \u2192 L128: $return = unserialize($serializedValue,['allowed_classes'=>false]);"
},
"explanation": "a remote HTTP fetch (`wp_remote_*`/`curl_exec`/`file_get_contents`) is followed by `@unserialize` within the same file \u2014 classic PHP Object Injection C2 gadget used by EP and most WP supply-chain backdoors. The error-suppressed form is the tell: legit code wants to know when deserialize fails; attackers suppress so malformed gadgets do not leak."
}