CVE-2022-31000
JSON

2.3low

CSRF allows attacker to finalize/unfinalize order adjustments in solidus_backend

Severity
2.3low CVSS:3.1 by GitHub_M
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-8639-qx56-r428

Description

solidus_backend is the admin interface for the Solidus e-commerce framework. Versions prior to 3.1.6, 3.0.6, and 2.11.16 contain a cross-site request forgery (CSRF) vulnerability. The vulnerability allows attackers to change the state of an order's adjustments if they hold its number, and the execution happens on a store administrator's computer. Users should upgrade to solidus_backend 3.1.6, 3.0.6, or 2.11.16 to receive a patch.

Affected

Product or packageVersionsReported by
solidusio solidus< 2.11.16, >= 3.0.0, < 3.0.6, >= 3.1.0, < 3.1.6CVE List
solidus_backend (RubyGems)before 2.11.16, from 3.0.0 before 3.0.6, from 3.1.0 before 3.1.6GitHub Advisory Database
nebulab solidusbefore 2.11.16, from 3.0.0 before 3.0.5, from 3.1.0 before 3.1.6NVD

All scores

GitHub_M2.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
GitHub2.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

CWE-352

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

solidus_backend is the admin interface for the Solidus e-commerce framework. Versions prior to 3.1.6, 3.0.6, and 2.11.16 contain a cross-site request forgery (CSRF) vulnerability. The vulnerability allows attackers to change the state of an order's adjustments if they hold its number, and the execution happens on a store administrator's computer. Users should upgrade to solidus_backend 3.1.6, 3.0.6, or 2.11.16 to receive a patch.

GitHub Advisory Database
Impact

CSRF vulnerability allowing attackers to change the state of an order's adjustments if they hold its number, and the execution happens on a store administrator's computer.

Reproduction steps:

  • Take an order's number.
  • Log in as an administrator.
  • Visit that order's adjustments section (Orders -> {Click on number} -> Adjustments) and check that its adjustments are finalized (closed padlock under the State column).
  • On another tab, visit {your_site_url}/admin/orders/{order_number}/adjustments/unfinalize.
  • Notice how the adjustments are unfinalized (open padlock), even if the previous was a GET request which could have been linked from any other site.
  • Visit {your_site_url}/admin/orders/{order_number}/adjustments/finalize.
  • Notice how the adjustments are again finalized.

That happened because both routes were handled as GET requests, which are skipped by Rails anti-forgery protection.

Patches

Users should upgrade to solidus_backend v3.1.6, v3.0.6, or v2.11.16, depending on the major and minor versions in use.

References
For more information

If you have any questions or comments about this advisory:

NVD (es)

solidus_backend es la interfaz de administración del framework de comercio electrónico Solidus. Las versiones anteriores a 3.1.6, 3.0.6 y 2.11.16, contienen una vulnerabilidad de tipo cross-site request forgery (CSRF). La vulnerabilidad permite a atacantes cambiar el estado de los ajustes de un pedido si presentan su número, y la ejecución ocurre en el ordenador de un administrador de la tienda. Los usuarios deben actualizar a solidus_backend versiones 3.1.6, 3.0.6 o 2.11.16 para recibir el parche

References

Sources

SourceRecordLicence
CVE ListCVE-2022-31000 changed 2025-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-8639-qx56-r428 changed 2023-11-08CC-BY-4.0
NVDCVE-2022-31000 changed 2026-06-17Public domain