The ListingPro - WordPress Directory & Listing Theme for WordPress is vulnerable to Arbitrary Plugin Installation, Activation and Deactivation in versions before 2.6.1. This is due to a missing capability check on the lp_cc_addons_actions function. This makes it possible for unauthenticated attackers to arbitrarily install, activate and deactivate any plugin.
PoC代码[已公开]
id: CVE-2020-36719
info:
name: ListingPro < 2.6.1 - Arbitrary Plugin Installation/Activation/Deactivation
author: ritikchaddha
severity: critical
description: |
The ListingPro - WordPress Directory & Listing Theme for WordPress is vulnerable to Arbitrary Plugin Installation, Activation and Deactivation in versions before 2.6.1. This is due to a missing capability check on the lp_cc_addons_actions function. This makes it possible for unauthenticated attackers to arbitrarily install, activate and deactivate any plugin.
reference:
- https://blog.nintechnet.com/wordpress-listingpro-theme-fixed-a-critical-vulnerability/
- https://nvd.nist.gov/vuln/detail/CVE-2020-36719
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2020-36719
epss-score: 0.57208
epss-percentile: 0.98079
cwe-id: CWE-862
cpe: cpe:2.3:a:cridio:listingpro:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: cridio
product: listingpro
fofa-query: body="/wp-content/plugins/listingpro"
tags: cve,cve2020,wp,wp-pluginwordpress,listingpro,passive,vkev
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/themes/listingpro/style.css"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "ListingPro"
- "Version:"
condition: and
- type: dsl
dsl:
- compare_versions(detected_version, '< 2.6.1')
- status_code == 200
condition: and
extractors:
- type: regex
part: body
name: detected_version
group: 1
regex:
- '(?i)Version:\s?([\w.]+)'
# digest: 4b0a00483046022100faf850d6559408718051b1d01e65c463d27b0dc128d2229fcb1a9754f0b57449022100ebbf0949dc393c83c0a3d8ec0622c670aea22518f1ba8bc82d1f9b62b2c3de5e:922c64590222798bb761d5b6d8e72950