| 标题 | mjperpinosa stumasy 327d1b0f2915ba79d7ef8ebb74553e987609d9be SQL Injection |
|---|
| 描述 | The affected component is `application/PHP/objects/notes/accessing_dictionary_authorization.php`, which calls `Notes_controller::accessing_dictionary_authorization()` with a user-controlled password. The controller concatenates the password directly into a SQL expression:
```php
$select_statement = $this->db_holder->prepare("SELECT * FROM passwords WHERE intended_to = 'accessing dictionary' AND password = password('".$password."')");
$select_statement->execute();
```
An attacker can submit `') OR 1=1 -- -` to alter the WHERE clause and bypass the dictionary password check. The issue can also be used as a SQL injection primitive against the application database.
|
|---|
| 来源 | ⚠️ https://github.com/mjperpinosa/stumasy/issues/6 |
|---|
| 用户 | gscsd (UID 97914) |
|---|
| 提交 | 2026-06-05 16時44分 (29 日前) |
|---|
| 管理 | 2026-07-04 17時50分 (29 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 376339 [mjperpinosa stumasy 直到 327d1b0f2915ba79d7ef8ebb74553e987609d9be accessing_dictionary_authorization.php accessing_dictionary_authorization 密码 SQL注入] |
|---|
| 积分 | 20 |
|---|