This is a simple and intentionally vulnerable Python application meant for educational and testing purposes.
- Stores user info in a SQLite database (
db.py) - Creates and loads user profiles using
pickle(auth.py) - Hashes passwords using
MD5(auth.py,util.py) - Executes raw Python code using
eval()(util.py)
-
Hardcoded API Key
- File:
config.py API_KEYis stored in plain text.
- File:
-
Insecure Deserialization
- File:
auth.py - Uses
pickle.load()on user-controlled input.
- File:
-
Weak Password Hashing
- Files:
auth.py,util.py - Uses
MD5, which is outdated and insecure.
- Files:
-
SQL Injection
- File:
db.py - Constructs SQL query using unsanitized user input.
- File:
-
Arbitrary Code Execution
- File:
util.py - Uses
eval()on user-supplied code.
- File:
This code is for educational use only. Do not use in production.