See how shopmagic compares to other vendors in security performance
The ShopMagic – email automation for WordPress plugin for WordPress is vulnerable to Improper Verification of Cryptographic Signature in all versions up to, and including, 4.9.5 Although CurrentCustomer::encodetrackingdata() appends an md5 hash to the shopmagicvisitor<COOKIEHASH> cookie to make it tamper-resistant, CookiePersistence::gettrackingdata() returns the raw jsondecode()'d cookie value directly without computing or verifying that hash, leaving the cookie's userid, email, and meta fields fully under attacker control. This makes it possible for unauthenticated attackers to forge the visitor cookie — which is predictable because its name is derived as md5(siteurl) from the public site URL — and submit it to the unprotected wpajaxnoprivcaptureemailurl endpoint (which is registered without a nonce check or capability check) to impersonate any WordPress user including administrators in ShopMagic's customer-identity context, and to overwrite the stored profile metadata — including name, phone number, and billing address — of any existing guest record in wpshopmagicguest and wpshopmagicguestmeta via GuestManager::save().
The ShopMagic – email automation for WordPress plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.9.0 via the 'billingaddress.firstname' parameter parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included. Exploitation requires a published recipe that processes the {{ customer.firstname }} placeholder — the plugin's built-in "New Order email with social media profile links" recipe satisfies this requirement out of the box, making the default configuration exploitable with no account, cookie, or nonce by simply submitting a guest checkout with the payload as the billing first name.