| タイトル | SourceCodester Simple Traffic Offense System using PHP with Source Code 1.0 Missing Authentication |
|---|
| 説明 | The application exposes a user creation endpoint, saveuser.php, that does not enforce server-side authentication or authorization. By deleting the session cookie or otherwise sending the request without a valid authenticated session, an attacker can still submit a crafted request, modify the position parameter, and create a new account with administrative privileges.
The backend endpoint saveuser.php accepts user-supplied role data without validating whether the current session is authenticated or authorized to create administrator accounts. The page-level control in sidebar.php only checks whether a user is logged in at the UI level, not whether the request is allowed at the backend.
As a result, the application trusts a client-controlled field for privilege assignment. |
|---|
| ソース | ⚠️ https://github.com/tan1540684326-QAQ/cve/issues/1 |
|---|
| ユーザー | LiuHeQi (UID 99807) |
|---|
| 送信 | 2026年07月27日 10:22 (1 月 ago) |
|---|
| モデレーション | 2026年09月06日 17:55 (1 month later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 399454 [SourceCodester Simple Traffic Offense System 1.0 User Creation saveuser.php position 弱い認証] |
|---|
| ポイント | 20 |
|---|