uListing <= 1.6.6 - Unauthenticated Arbitrary Roles and Capabilities Creation/Deletion
Strategic Overview
- Status
- Patched in 1.7
- Affected Plugin
- Directory Listings WordPress plugin – uListing
- Affected Version
< 1.7- CVSS
- 6.5Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2021-4345
At a glance
CVE-2021-4345 is a medium-severity Missing Authorization vulnerability in the Directory Listings WordPress plugin WordPress plugin, affecting versions < 1.7. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 1.7; sites on affected versions should update now. Disclosed January 2021, reported by Jerome Bruandet.
Vulnerability Overview
The uListing plugin for WordPress is vulnerable to authorization bypass due to missing capability and nonce checks on the UlistingUserRole::save_role_api method in versions up to, and including, 1.6.6. This makes it possible for unauthenticated attackers to remove or add roles, and add capabilities.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-862: Missing Authorization
Reaching this weakness in Directory Listings WordPress plugin < 1.7 takes no account at all. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Directory Listings WordPress plugin the fix is 1.7: builds < 1.7 are affected, anything from 1.7 onward is not.
Remediation
Update to version 1.7, or a newer patched version
How does WordSec protect against this?
This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: Directory Listings WordPress plugin 1.7 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Directory Listings WordPress plugin – uListing
- 9.8CVE-2021-4340: uListing <= 1.6.6 SQL Injection
CVE-2021-4340 - 9.8CVE-2021-36879: Listing, Classified Ads… Privilege Escalation
CVE-2021-36879 - 9.8CVE-2021-36880: Listing, Classified Ads & Business… SQL Injection
CVE-2021-36880 - 9.8CVE-2021-4381: uListing <= 1.6.6 Options Changes
CVE-2021-4381 - 9.1CVE-2021-4357: uListing <= 1.6.6 Arbitrary Post/Page Deletion
CVE-2021-4357 - 8.8CVE-2025-32662: uListing <= 2.2.0 PHP Object Injection
CVE-2025-32662 - 8.8CVE-2025-1653: Directory Listings… Privilege Escalation
CVE-2025-1653 - 8.8CVE-2025-1657: Directory Listings… Authenticated (Subscriber+)
CVE-2025-1657
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C