Affected versions
- Affected versions
- >=4.1.19 <=4.1.20
- Fixed version
- 4.1.21
Exploitation
Description
The CMP – Coming Soon & Maintenance Plugin by NiteoThemes plugin for WordPress is vulnerable to unauthorized access in versions 4.1.19 through 4.1.20. This is due to missing normalization (URL-decoding and lowercasing) of stored custom URL patterns before comparison with fnmatch, combined with construction of the current URL from a spoofable source rather than home_url(). This makes it possible for unauthenticated attackers to view pages that should be blocked by maintenance mode by crafting URLs with percent-encoded characters or mixed case that fail to match the stored URL patterns, bypassing the maintenance mode restriction entirely. At least one custom URL pattern must be configured in the plugin's page whitelist or blacklist settings.
Links
Credits
- Sanjeev Kumar

