제출 #1055661: amirhamza05 Student-Management-System 1.0 CSRF정보

제목amirhamza05 Student-Management-System 1.0 CSRF
설명A cross-site request forgery (CSRF) vulnerability exists across all state-changing operations in the application. The application does not implement any CSRF token generation or validation mechanism. Sensitive operations—including profile updates, password changes, account status changes, role changes, payment record writes, and student deletion—are processed based solely on the presence of a valid session cookie. No anti-CSRF token, `Referer` check, or `Origin` validation is performed. The vulnerable flow includes: - `page_action/user/user_profile.php:53-60 / 76-80 / 95-105 / 118-127` — various `$_POST[...]` parameters directly update the `user` table without a token - `page_action/student_profile/payment.php:19-26` — payment record writes without a token - `student_action.php:159-186` — the `delete` branch deletes a student and their payments/grades without a token - Entire project — no CSRF token generation or validation code exists - `php.ini` runtime values — `session.cookie_httponly=0`, empty `session.cookie_samesite`, and `session.use_strict_mode=0` - Server side — no `Referer` or `Origin` validation Because the session cookie lacks the `SameSite` attribute, cross-site form submissions automatically carry the victim's session cookie. A malicious third-party page can therefore submit forged requests that the server treats as legitimate actions performed by the victim.
원천⚠️ https://github.com/amirhamza05/Student-Management-System/issues/78
사용자
 siri0612 (UID 102412)
제출2026. 10. 24. PM 12:02 (1 월 ago)
모더레이션2026. 11. 23. PM 07:31 (1 month later)
상태수락
VulDB 항목442506 [amirhamza05 Student-Management-System 까지 449397e35d42e3779f14f0bfc654ab307103f7e3 user_profile.php update_profile_info 교차 사이트 요청 위조]
포인트들20

Do you need the next level of professionalism?

Upgrade your account now!