SQL injection
IP spoofing and SQL injection in Textcube
Textcube trusts the Client-IP and X-Forwarded-For headers to set the client's IP address, which is then used unescaped in a SQL query for anonymous sessions. An attacker can spoof their IP with a SQL injection payload to retrieve another user's session identifier or extract arbitrary data from the database.
Textcube