| 标题 | osCommerce osCommerce V4 4.14.63493 Authorization Bypass |
|---|
| 描述 | osCommerce V4 (version 4.14.63493) contains an authenticated insecure direct object reference in the address-book update routine lib/common/components/Customer.php (updateAddress). The target record is located with AddressBook::findOne(['address_book_id' => $abId]) using only the address_book_id and no customers_id ownership filter, then edited and saved. The caller lib/frontend/controllers/AccountController.php (actionAddressBookProcess) only enforces checkIsGuest(); the address_book_id is bound from a client POST field through AddressForm with no ownership validation and passed directly to updateAddress(). Because getAddressFromModel() sets customers_id to the current (attacker) account, the edit also reassigns the victim's row to the attacker. By contrast, the delete branch correctly scopes by owner via getAddressBook(). Impact: any authenticated customer can overwrite another customer's address book entry by submitting that entry's address_book_id, reassign it to their own account, and influence the victim's default shipping/billing selection. CWE-639. Remediation: scope the lookup to address_book_id AND customers_id of the current session, as the delete branch already does.
Credit: Agit Isik (IOVA LTD)
Contact: [email protected] |
|---|
| 来源 | ⚠️ https://gist.github.com/agtt/e24f463541fb972f1617d9e01d6b05ed |
|---|
| 用户 | agit (UID 102449) |
|---|
| 提交 | 2026-10-24 02時13分 (1 月前) |
|---|
| 管理 | 2026-11-23 04時29分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 442245 [osCommerce 4.14.63493 Address Book Customer.php updateAddress address_book_id 权限提升] |
|---|
| 积分 | 20 |
|---|