CVE-2026-136049 — CWE-1390
Weak Authentication vulnerability in ShopApper Mobile App for WooCommerce mobile-app-for-woocommerce allows Authentication Abuse.This issue affects Mobile App for WooCommerce: from n/a before 0.5.2.
Weak Authentication vulnerability in ShopApper Mobile App for WooCommerce mobile-app-for-woocommerce allows Authentication Abuse.This issue affects Mobile App for WooCommerce: from n/a before 0.5.2.
🎯 What is this vulnerability?
CVE‑2026‑136049 is a classic Authentication Abuse flaw (CWE‑1390) in the ShopApper Mobile App for WooCommerce (the official WooCommerce mobile‑app‑for‑woocommerce plugin).
The app exposes a REST‑style authentication endpoint that is supposed to validate a user’s credentials before issuing a session token.
In all releases prior to 0.5.2 the endpoint performs a partial check:
| Check performed | What is missing |
|---|---|
username is required | Password is not required – the code simply verifies that a username field exists and that it matches a record in the database. |
password is optional | The password field is ignored entirely; any value (including an empty string) is accepted. |
| Rate‑limiting / brute‑force protection | None – the endpoint is open to unlimited requests. |
Because the password is never validated, an attacker can send a request with any username and an empty password (or any arbitrary string) and receive a valid authentication token. Once authenticated, the attacker can call any privileged API endpoint (e.g., product creation, order modification, customer data export) with the same token, effectively gaining full administrative control over the WooCommerce store.
The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) reflects that this is a network‑based attack that requires no user interaction and no privileges on the client side, yet it grants high confidentiality and integrity impact.
⚡ Attack Chain
NOTE – The exact URI and payload structure are not disclosed in the CVE text. The following example uses a representative endpoint (/api/auth/login) and JSON body that illustrate the vulnerability class. If you discover a different endpoint or payload format, the same logic applies.1. Discovery & Reconnaissance
| Step | Technique | What to look for |
|---|---|---|
| a. Identify the app | Scan the target domain for the mobile‑app‑for‑woocommerce API. | Look for URLs containing /api/ or /wp-json/ that return a JSON schema. |
| b. Determine version | Query the /api/version endpoint (if present) or inspect the User‑Agent header of the mobile app’s traffic. | The response will include "version":"0.4.7" (or any < 0.5.2). |
| c. Verify authentication endpoint | Send a GET /api/auth/login (or POST with minimal payload) and observe the response. | A 200 OK with a JSON body containing "token" indicates the endpoint is reachable. |
If the endpoint is protected by a CSRF token or requires a prior session cookie, the attacker can still bypass it because the password is ignored.
2. Exploitation
Goal: Obtain a valid session token for any user (preferably admin).
# Illustrative PoC – replace <TARGET> with the real host
curl -X POST "https://<TARGET>/api/auth/login" \
-H "Content-Type: application/json" \
-d '{
"username":"admin",
"password":""
}'Expected response (illustrative):
{
"status":"success",
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}Why it works:
The server code (pseudo‑PHP) looks roughly like this:
// /api/auth/login
$username = $_POST['username'] ?? null;
$password = $_POST['password'] ?? null; // never used
if ($username && user_exists($username)) {
// No password check!
$token = generate_jwt($username);
echo json_encode(['status'=>'success','token'=>$token]);
} else {
echo json_encode(['status'=>'failure']);
}Because $password is never inspected, any value (including an empty string) is accepted.
3. Post‑exploitation
With the JWT token in hand, the attacker can call any privileged endpoint:
# Example: list all products
curl -X GET "https://<TARGET>/api/admin/products" \
-H "Authorization: Bearer <TOKEN>"Typical admin actions that become possible:
| Action | Impact |
|---|---|
| Create / modify products | Revenue loss, inventory distortion |
| Delete orders / refund customers | Financial loss, customer churn |
| Export customer data | Data breach, GDPR / PCI‑DSS violations |
| Change store settings | Site compromise, further exploitation |
The attacker can also use the token to perform privilege escalation within the WooCommerce ecosystem, e.g., by creating a new admin user via /api/admin/users and then logging in as that user.
🌍 Real World Impact
| Impact | Detail |
|---|---|
| Confidentiality (C:H) | All customer data, order history, and store configuration can be read. |
| Integrity (I:H) | Products, orders, and customer records can be altered or deleted. |
| Availability (A:N) | No direct impact; the vulnerability does not crash the service. |
Practical consequences:
1. Financial loss – fraudulent orders, price manipulation, or unauthorized refunds.
2. Reputational damage – customers lose trust if their data is exposed or orders are tampered with.
3. Regulatory penalties – GDPR, PCI‑DSS, or other compliance frameworks may be violated if customer data is exfiltrated.
4. Platform compromise – the attacker can use the admin token to install malicious plugins or backdoors.
🛡️ Remediation & Mitigation
1. Patch
| Affected version | Upgrade recommendation |
|---|---|
< 0.5.2 | Upgrade to 0.5.2 or later. The patch enforces password validation and adds rate‑limiting. |
If you cannot upgrade immediately, apply the following mitigations.
2. Workarounds
| Mitigation | How to implement |
|---|---|
| Disable the vulnerable endpoint | Remove or rename /api/auth/login in the plugin’s routing table. |
| Enforce password presence | Add a server‑side check: if (empty($password)) { return error; }. |
| Rate‑limit login attempts | Use a WAF rule (e.g., ModSecurity) to block more than 5 requests per minute from the same IP. |
| Require HTTPS | Ensure the API is only reachable over TLS; reject clear‑text traffic. |
| IP whitelisting | Restrict API access to known IP ranges (e.g., the mobile app’s CDN). |
ModSecurity rule example (illustrative):
SecRule REQUEST_URI "@beginsWith /api/auth/login" \
"id:1001,phase:2,block,msg:'Auth bypass attempt',severity:2,log"3. Detection
| Log pattern | Indicator |
|---|---|
POST /api/auth/login with password="" | Possible bypass |
200 OK response containing token after empty password | Successful exploitation |
Rapid succession of /api/auth/login requests from a single IP | Brute‑force attempt |
Sample Apache/Nginx log snippet:
192.0.2.10 - - [12/Dec/2026:10:15:32 +0000] "POST /api/auth/login HTTP/1.1" 200 512IoC (IP, User‑Agent):
- IP ranges used by the mobile app’s CDN (e.g.,
192.0.2.0/24). - User‑Agent containing
ShopApperMobile/0.4.7. - CVSS Score: 9.1 (Critical) – indicates a high‑risk vulnerability that can be exploited remotely with no credentials or user interaction.
- Exploit Complexity: Low – a single crafted HTTP request suffices.
- CISA KEV Status: No – but the lack of a KEV listing does not mitigate the risk; the vulnerability is still exploitable.
- Recommended Priority: Immediate.
⚠️ Urgency
Bottom line: The flaw allows an unauthenticated attacker to impersonate any user, including administrators, and perform any privileged action. The impact on confidentiality and integrity is severe, and the low exploitation effort makes this a high‑priority issue for any WooCommerce store using ShopApper Mobile App for WooCommerce before version 0.5.2.
[🤖 CVE Professor AI Security Engine]