🇰🇷 한글 설명
PHPGurukul News Portal 1.0의 /onps/settings.py 파일에서 SECRET_KEY 인수 조작을 통해 하드코딩된 암호화 키가 사용되는 취약점입니다. 원격에서 공격이 가능하며 높은 복잡도가 요구됩니다.
💡 쉬운 설명
뉴스 포탈 프로그램의 설정 파일에서 보안 키가 고정된 값으로 설정되어 있어, 악의적 사용자가 시스템의 암호화를 우회할 수 있습니다. 이는 원격 접근이 필요하지만 기술적 난이도가 높습니다.
🇺🇸 원문 (English)
A security vulnerability has been detected in PHPGurukul News Portal 1.0. The affected element is an unknown function of the file /onps/settings.py. Such manipulation of the argument SECRET_KEY leads to use of hard-coded cryptographic key
. The attack may be performed from remote. The attack requires a high level of complexity. The exploitability is described as difficult. The exploit has been disclosed publicly and may be used.
📍 영향받는 시스템
PHPGurukul News Portal 1.0
⚔️ 공격 벡터
/onps/settings.py의 SECRET_KEY 인수 조작을 통한 원격 공격
🛡️ 대응 방법
PHPGurukul News Portal을 최신 보안 패치 버전으로 업그레이드하고 SECRET_KEY를 강력한 동적 값으로 변경
🔧 검증 코드
명령어가 하드코딩된 SECRET_KEY를 찾으면 취약점이 존재하는 것으로 확인되며, 고정값 대신 환경변수나 동적 키 사용으로 수정 필요
grep -r 'SECRET_KEY' /onps/settings.py 2>/dev/null && echo 'Found hardcoded key'