google / tsunami-security-scanner-plugins

This project aims to provide a central repository for many useful Tsunami Security Scanner plugins.
Apache License 2.0
860 stars 178 forks source link

AI PRP: prestodb exposed UI and APIs #463

Open lanced00m opened 2 months ago

lanced00m commented 2 months ago

According to the prestodb introduction: Presto is a distributed SQL query engine designed to query large data sets distributed over one or more heterogeneous data sources. from my tests on an exposed prestodb UI, attackers can execute arbitrary SQL queries in an exposed prestodb UI. I couldn't find a way to execute an os-level command, but performing a generic SQL query is easy.

we can run an instance quickly with docker: https://hub.docker.com/r/prestodb/presto documentation: http://prestodb.io/docs/0.286/overview.html