bLoyal: Loyalty & Promotions by bLoyal <= 3.1.611.78 - Authenticated (Subscriber+) Privilege Escalation via Unprotected AJAX API URL Settings
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
The bLoyal: Loyalty & Promotions by bLoyal plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 3.1.611.78. This is due to the AJAX actions `save_bloyal_configuration_data` and `save_bloyal_accesskeyverification_data` being registered without any capability or nonce checks, and the `bloyal_customer_auto_login` function unconditionally trusting the `Customer.ExternalId` value returned by whichever API URL is stored in the plugin's options. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the plugin's bLoyal Loyalty Engine API URL (`bloyal_custom_loyaltyengine_api_url`) and the `is_bloyal_custom_api_url` flag via the unprotected AJAX actions, then trigger the unauthenticated `/cart` REST route to cause `bloyal_customer_auto_login` to fetch customer data from an attacker-controlled endpoint and call `wp_set_auth_cookie()` with an attacker-supplied `Customer.ExternalId`, thereby authenticating as any WordPress user including the site Administrator.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- connectordev bLoyal: Loyalty & Promotions by bLoyal
through 3.1.611.78
References 10
plugins.trac.wordpress.org
- browser/bloyal/tags/3.1.611.78/app/controller/class-bloyalcontroller.php#L421
- browser/bloyal/tags/3.1.611.78/app/controller/class-bloyalcontroller.php#L2470
- browser/bloyal/tags/3.1.611.78/app/controller/class-bloyalcontroller.php#L2429
- browser/bloyal/tags/3.1.611.78/bloyal.php#L1553
- browser/bloyal/tags/3.1.611.78/bloyal.php#L1596
- browser/bloyal/tags/3.1.611.78/app/controller/class-bloyalcontroller.php#L494
- browser/bloyal/tags/3.1.611.78/bloyal.php#L1196
- browser/bloyal/tags/3.1.611.78/app/controller/class-bloyalcontroller.php#L2512
- browser/bloyal/tags/3.1.611.78/app/controller/class-bloyalcontroller.php#L806