| 제목 | 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. AM 02:13 (1 월 ago) |
|---|
| 모더레이션 | 2026. 11. 23. AM 04:29 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 442245 [osCommerce 4.14.63493 Address Book Customer.php updateAddress address_book_id 권한 상승] |
|---|
| 포인트들 | 20 |
|---|