cbcvebase.
CVE-2021-39327
published 2021-09-17

CVE-2021-39327: The BulletProof Security WordPress plugin is vulnerable to sensitive information disclosure due to a file path disclosure in the publicly accessible…

PriorityP357medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
EXPLOIT
EPSS
72.33%
99.4th percentile
The BulletProof Security WordPress plugin is vulnerable to sensitive information disclosure due to a file path disclosure in the publicly accessible ~/db_backup_log.txt file which grants attackers the full path of the site, in addition to the path of database backup files. This affects versions up to, and including, 5.1.

Affected

2 ranges
VendorProductVersion rangeFixed in
ait-probulletproof_security<= 5.1
aitprobulletproof_security5.1 – 5.1

Detection & IOCsextracted from sources · hover to see the quote

path/wp-content/bps-backup/logs/db_backup_log.txt
path/wp-content/plugins/bulletproof-security/admin/htaccess/db_backup_log.txt
filenamedb_backup_log.txt
  • HTTP GET request to either of the two publicly accessible db_backup_log.txt paths returns HTTP 200 with Content-Type text/plain and body containing both 'BPS DB BACKUP LOG' and '=================='
  • A non-empty db_backup_log.txt (i.e. backup functionality is active) will NOT match the regex pattern '^BPS\sDB\sBACKUP\sLOG\r\n==================\r\n==================\r\n\r\n$' — use this negative match to confirm actual data disclosure vs. an empty log
  • After retrieving the db_backup_log.txt, parse it to locate disclosed database backup file paths, then download those backup files to extract all user credentials
  • ·The vulnerability is only exploitable if the BulletProof Security backup functionality has been used at least once; an empty log file (matching the all-empty regex) means no backup paths are disclosed
  • ·Two distinct file paths must be checked, as the log may reside in either location depending on plugin configuration

CVSS provenance

nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.