Gửi #944385: aiyiyi121 SxDevOps 1.1 Use of Hard-coded Cryptographic Keythông tin

tiêu đềaiyiyi121 SxDevOps 1.1 Use of Hard-coded Cryptographic Key
Mô tảSxDevOps hardcodes a Django SECRET_KEY fallback value in sxdevops/settings.py. The key uses the django-insecure- prefix which Django itself flags as insecure, yet it is used as a fallback when the SECRET_KEY environment variable is not set (the default). Vulnerable code in backend/sxdevops/settings.py lines 341-344: SECRET_KEY = os.getenv("SECRET_KEY") or "django-insecure-ag#xxnjm^46$=ye()w$yma8r8oy3&wfq!8_=bm!kwe0e((&y3-" With a known SECRET_KEY, attackers can: 1. Forge signed Django session cookies to assume the identity of any user including superadmin 2. Bypass CSRF protection by generating valid CSRF tokens 3. Generate valid password reset tokens for any user account Impact: Authentication bypass via session forgery, CSRF protection bypass, and password reset abuse — enabling full account takeover without needing valid credentials.
Nguồn⚠️ https://github.com/aiyiyi121/sxdevops/issues/16
Người dùng
 _lxf (UID 63911)
Đệ trình24/08/2026 04:51 (cách đây 28 ngày)
Kiểm duyệt19/09/2026 12:15 (26 days later)
Trạng tháiđược chấp nhận
Mục VulDB407929 [aiyiyi121 SxDevOps 1.0/1.1 Settings settings.py xác thực yếu]
điểm20

Do you want to use VulDB in your project?

Use the official API to access entries easily!