| 제목 | sambitraj STUDENT-MANAGEMENT-SYSTEM 56ba287f2e9031523ccb4244cb6e3fe530e4e5d5 Cookie Without 'HttpOnly' Flag |
|---|
| 설명 | The affected components are the PHP login and dashboard pages that start sessions without configuring secure cookie attributes. The login pages call `session_start()` and issue a PHP session cookie:
```php
session_start();
...
$_SESSION['name'] = $row['name'];
$_SESSION['email'] = $row['email'];
```
Runtime responses set `PHPSESSID` without `HttpOnly`:
```http
Set-Cookie: PHPSESSID=0klqsok4qjcgftt0b2iivhtrkj; path=/
```
Because the cookie is readable from JavaScript, any XSS in the application can read and exfiltrate the session identifier. This increases the impact of the existing stored XSS issue by allowing direct session theft. |
|---|
| 원천 | ⚠️ https://github.com/sambitraj/STUDENT-MANAGEMENT-SYSTEM/issues/10 |
|---|
| 사용자 | gscsd (UID 97914) |
|---|
| 제출 | 2026. 07. 17. PM 07:26 (1 월 ago) |
|---|
| 모더레이션 | 2026. 08. 30. PM 07:56 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 397185 [sambitraj Student-Management-System 까지 56ba287f2e9031523ccb4244cb6e3fe530e4e5d5 session_start 권한 상승] |
|---|
| 포인트들 | 20 |
|---|