mariadb-13-rce-lab

(★ 62)

MariaDB 13.0.1-rc RCE lab — priv-esc + heap UAF + JOP chain to system() as uid 999(mysql) on stock Docker image. Found with RAPTOR and raptor-loop-hunt.

File Explorer

  • .gitignore
  • docker-compose.yml
  • exploit.py
  • exploit_pure_sql.py
  • README.md
  • setup.sql

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

docker compose up

View Details ▼

Start and run Docker services defined in a Compose file.

docker compose up

Start all services defined in the docker-compose file:

docker compose up {{[-d|--detach]}}

Start services in the background (detached mode):

docker compose up --build

Start services and rebuild images before starting:

🔍

docker exec

View Details ▼

This command is an alias of `docker container exec`.

tldr docker container exec

View documentation for the original command:

🔍

docker inspect

View Details ▼

Return low-level information on Docker objects.

docker inspect {{container|image|id}}

Display information about a container, image, or volume using a name or ID:

docker inspect {{[-f|--format]}} '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' {{container}}

Display a container's IP address:

docker inspect {{[-f|--format]}} '\{\{.LogPath\}\}' {{container}}

Display the path to the container's log file:

🔍

mariadb

View Details ▼

The mariadb client tool.

mariadb

Connect to MariaDB as the current user:

mariadb {{db_name}}

Connect to a specific MariaDB database:

mariadb {{[-u|--user]}} {{user_name}} {{[-p|--password]}} {{your_password}} {{db_name}}

Connect to a specific MariaDB database using username and password:

🔍

mysql

View Details ▼

The MySQL tool.

mysql {{database_name}}

Connect to a database:

mysql {{[-u|--user]}} {{user}} {{[-p|--password]}} {{database_name}}

Connect to a database, user will be prompted for a password:

mysql {{[-h|--host]}} {{database_host}} {{database_name}}

Connect to a database on another host:

🔍

python3

View Details ▼

This command is an alias of `python`.

tldr python

View documentation for the original command:

// repository documentation