提交 #944386: aiyiyi121 SxDevOps 1.1 Active Debug Code信息

标题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)
提交2026-08-24 04時53分 (27 日前)
管理2026-09-19 12時15分 (26 days later)
状态已接受
VulDB条目407930 [aiyiyi121 SxDevOps 1.0/1.1 settings.py 信息公开]
积分20

Want to know what is going to be exploited?

We predict KEV entries!