| शीर्षक | aiyiyi121 SxDevOps 1.1 Active Debug Code |
|---|
| विवरण | SxDevOps sets DEBUG = True as the default value when the DEBUG environment variable is not configured. If the deployment omits this configuration (common for Docker-based deployments that may not set all environment variables), the application runs in debug mode in production.
Vulnerable code in backend/sxdevops/settings.py line 347:
DEBUG = _bool_value(os.getenv("DEBUG"), True) # Defaults to True
In Django, DEBUG = True causes:
1. Detailed error pages on 500 errors exposing full stack traces, local variables, SQL queries, and all settings values including SECRET_KEY and database credentials
2. Static file serving through Django bypassing secure CDN configurations
3. Enhanced logging that may include sensitive data
Impact: Triggering any 500 error exposes the Django SECRET_KEY (enabling session forgery attacks as a separate vulnerability), database credentials, application source code, and internal server architecture. No authentication required. |
|---|
| स्रोत | ⚠️ https://github.com/aiyiyi121/sxdevops/issues/16 |
|---|
| उपयोगकर्ता | _lxf (UID 63911) |
|---|
| सबमिशन | 24/08/2026 04:53 AM (27 दिन पहले) |
|---|
| संयम | 19/09/2026 12:15 PM (26 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 407930 [aiyiyi121 SxDevOps 1.0/1.1 settings.py सूचना का प्रकटीकरण] |
|---|
| अंक | 20 |
|---|