Description
The MStore API – Create Native Android & iOS Apps On The Cloud plugin for WordPress is vulnerable to authentication bypass in all versions up to, and including, 4.14.7. This is due to insufficient verification on the 'phone' parameter of the 'firebase_sms_login' and 'firebase_sms_login_v2' functions. This makes it possible for unauthenticated attackers to log in as any existing user on the site, such as an administrator, if they have access to the email address or phone number. Additionally, if a new email address is supplied, a new user account is created with the default role, even if registration is disabled.
EPSS Score:
2%
Comprehensive Technical Analysis of EUVD-2024-47442
1. Vulnerability Assessment and Severity Evaluation
The vulnerability in the MStore API plugin for WordPress, identified as EUVD-2024-47442 (CVE-2024-6328), is classified as an authentication bypass issue. This vulnerability allows unauthenticated attackers to log in as any existing user, including administrators, by exploiting insufficient verification on the 'phone' parameter in the 'firebase_sms_login' and 'firebase_sms_login_v2' functions. Additionally, it enables the creation of new user accounts with default roles, even if registration is disabled.
Severity Evaluation:
- Base Score: 9.8 (Critical)
- Base Score Version: CVSS:3.1
- Base Score Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The high base score indicates a critical vulnerability due to the ease of exploitation (low complexity, no privileges required, no user interaction needed) and the severe impact on confidentiality, integrity, and availability.
2. Potential Attack Vectors and Exploitation Methods
Attack Vectors:
- Authentication Bypass: An attacker can exploit the vulnerability to log in as any user by providing the user's email address or phone number, bypassing the authentication mechanism.
- Unauthorized Account Creation: By supplying a new email address, an attacker can create a new user account with default roles, even if user registration is disabled.
Exploitation Methods:
- Manual Exploitation: An attacker can manually craft HTTP requests to the vulnerable endpoints ('firebase_sms_login' and 'firebase_sms_login_v2') with the necessary parameters to bypass authentication.
- Automated Scripts: Attackers can use automated scripts to exploit the vulnerability at scale, targeting multiple WordPress sites using the MStore API plugin.
3. Affected Systems and Software Versions
Affected Software:
- MStore API – Create Native Android & iOS Apps On The Cloud plugin for WordPress
Affected Versions:
- All versions up to and including 4.14.7
Vendor:
- InspireUI
4. Recommended Mitigation Strategies
Immediate Actions:
- Update the Plugin: Ensure that the MStore API plugin is updated to a version higher than 4.14.7, where the vulnerability has been patched.
- Disable the Plugin: If an update is not immediately available, consider disabling the plugin until a patched version is released.
- Monitor Logs: Closely monitor server logs for any suspicious login attempts or unauthorized account creations.
Long-Term Mitigation:
- Regular Updates: Implement a regular update schedule for all plugins and themes to ensure they are patched against known vulnerabilities.
- Access Controls: Enforce strict access controls and multi-factor authentication (MFA) for administrative accounts.
- Security Audits: Conduct regular security audits and vulnerability assessments to identify and mitigate potential security issues.
5. Impact on European Cybersecurity Landscape
The vulnerability poses a significant risk to the European cybersecurity landscape, particularly for organizations and individuals using the MStore API plugin. The ease of exploitation and the severe impact on confidentiality, integrity, and availability make it a critical concern. Unauthorized access to administrative accounts can lead to data breaches, unauthorized modifications, and service disruptions, affecting the trust and security of digital services across Europe.
6. Technical Details for Security Professionals
Vulnerable Functions:
firebase_sms_loginfirebase_sms_login_v2
Vulnerable Parameter:
phone
Code References:
Changeset:
References:
EPSS Score:
- 2 (indicating a moderate likelihood of exploitation in the wild)
ENISA IDs:
- Product: f12c4893-24fa-33ac-8b35-efa552a36a80
- Vendor: 3a7a6a9a-6234-3599-b928-b49bd2cfd766
Assigner:
- Wordfence
Conclusion
The authentication bypass vulnerability in the MStore API plugin for WordPress is a critical issue that requires immediate attention. Organizations should prioritize updating the plugin to a patched version and implement robust security measures to mitigate the risk of exploitation. The European cybersecurity community should remain vigilant and proactive in addressing such vulnerabilities to maintain the integrity and security of digital services.