| Titolo | osCommerce osCommerce V4 4.14.63493 Authorization Bypass |
|---|
| Descrizione | 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] |
|---|
| Fonte | ⚠️ https://gist.github.com/agtt/e24f463541fb972f1617d9e01d6b05ed |
|---|
| Utente | agit (UID 102449) |
|---|
| Sottomissione | 24/10/2026 02:13 (1 mese fa) |
|---|
| Moderazione | 23/11/2026 04:29 (1 month later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 442245 [osCommerce 4.14.63493 Address Book Customer.php updateAddress address_book_id escalationi di privilegi] |
|---|
| Punti | 20 |
|---|