| 标题 | CodeAstro Human Resource Management System v1.0 Cross-Site Request Forgery (CSRF) |
|---|
| 描述 | A Cross-Site Request Forgery (CSRF) vulnerability exists in the HRMS Organization module within the Delete_dep endpoint. The application does not implement anti-CSRF tokens or request origin validation for state-changing operations. As a result, an administrator can be tricked into executing a crafted request that triggers the deletion of a department.
The vulnerable function directly invokes department_delete($dep_id) based on a user-controlled parameter without verifying request integrity beyond session authentication (user_login_access). Since department IDs are predictable and the action is executed via a simple HTTP request, an attacker can force unintended deletion of department records when a victim visits a malicious page.
This leads to unauthorized data modification and disruption of organizational structure within the application.
|
|---|
| 来源 | ⚠️ https://github.com/ashikmd0507/CVE/tree/main/CSRF%20in%20Department%20Deletion%20Endpoint |
|---|
| 用户 | ashikmd7 (UID 98284) |
|---|
| 提交 | 2026-05-29 05時54分 (4 月前) |
|---|
| 管理 | 2026-06-28 11時34分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 374545 [CodeAstro Human Resource Management System 1.0 跨网站请求伪造] |
|---|
| 积分 | 20 |
|---|