GHSA-w5v4-5p65-83xj: 
PHP Análise e mitigação de vulnerabilidades

Summary

The close REST endpoint of the BitPay Magento 2 plugin did not require authentication. With the default settings, anyone could delete any order in the store by sending its order number. Fixed in 10.2.3.

Details

GET /rest/V1/bitpay-bpcheckout/close is declared with the anonymous resource in etc/webapi.xml, so anyone can call it. Model/IpnManagement.php::postClose() loaded the order from the orderID parameter and deleted it when Invoice Close Handling was set to Delete Order, which is the default value in etc/config.xml. It did not check who sent the request, which payment method the order used, or whether the order was already paid.

Patches

Fixed in 10.2.3. The endpoint now requires the order's return hash, only works on BitPay orders, and only deletes orders that are still unpaid in Magento and in BitPay.

Workarounds

Until you can upgrade, go to Stores > Configuration > Sales > Payment Methods > BitPay and set Invoice Close Handling to Keep Order. With this setting the endpoint does not delete orders. If you cannot upgrade, set Invoice Close Handling to Keep Order. The close endpoint will then stop deleting orders.

Proof of concept

  1. Install the plugin (10.2.2 or earlier) with the default configuration.
  2. Place any order in the store and note its order number (increment ID).
  3. Without logging in, send a GET request to /rest/V1/bitpay-bpcheckout/close?orderID=<order number>.
  4. The order is deleted from the store, even if it was paid or used another payment method.

Impact

Missing authentication on a destructive action (CWE-306, CWE-639). Any Magento 2 store running the BitPay plugin up to 10.2.2 with the default Invoice Close Handling setting is affected. An unauthenticated attacker can delete orders, including paid orders and orders paid with other payment methods. Order numbers are sequential, so they are easy to guess. Stores lose order records and may not be able to fulfil paid orders.


Origem: NVD

Relacionado PHP Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploit CISA KEV

Tem correção

Data de publicação

GHSA-w5v4-5p65-83xjCRITICAL9.1
  • PHP logoPHP
  • bitpay/module-bpcheckout
NãoSimOct 26, 2026
GHSA-vj26-42vf-4x4vHIGH8.1
  • PHP logoPHP
  • kyon147/laravel-shopify
NãoSimOct 26, 2026
GHSA-9884-fw9c-mq85HIGH8.1
  • PHP logoPHP
  • nativephp/mobile
NãoSimOct 25, 2026
GHSA-83jv-8h7x-287pHIGH7.7
  • PHP logoPHP
  • nativephp/mobile
NãoSimOct 25, 2026
GHSA-9g37-88p8-75j2HIGH7.4
  • PHP logoPHP
  • nativephp/mobile
NãoSimOct 25, 2026

Avaliação Gratuita de Vulnerabilidades

Avalie a sua postura de segurança na nuvem

Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.

Avaliação de solicitação

Recursos adicionais da Wiz

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades