{"id":"CVE-2022-31000","aliases":["CVE-2022-31000","GHSA-8639-qx56-r428"],"related":[],"kind":"vulnerability","state":"published","title":"CSRF allows attacker to finalize/unfinalize order adjustments in solidus_backend","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nCSRF 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.\n\nReproduction steps:\n- Take an order's number.\n- Log in as an administrator.\n- Visit that order's adjustments section (_Orders -> {Click on number} -> Adjustments_) and check that its adjustments are finalized (closed padlock under the **State** column).\n- On another tab, visit `{your_site_url}/admin/orders/{order_number}/adjustments/unfinalize`.\n- 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.\n- Visit `{your_site_url}/admin/orders/{order_number}/adjustments/finalize`.\n- Notice how the adjustments are again finalized.\n\nThat happened because both routes were handled as `GET` requests, which are skipped by Rails anti-forgery protection.\n\n### Patches\nUsers should upgrade to solidus_backend v3.1.6, v3.0.6, or v2.11.16, depending on the major and minor versions in use.\n\n### References\n- [Rails CSRF protection](https://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection.html).\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n- Open an [issue](https://github.com/solidusio/solidus/issues) or a [discussion](https://github.com/solidusio/solidus/discussions) in Solidus.\n- Email us at [security@solidus.io](mailto:security@soliidus.io)\n- Contact the core team on [Slack](http://slack.solidus.io/)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-06-01T17:25:11.000Z","modified":"2026-06-17T04:44:34.827Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":"< 2.11.16","status":"affected"},{"version":">= 3.0.0, < 3.0.6","status":"affected"},{"version":">= 3.1.0, < 3.1.6","status":"affected"}],"vendor":"solidusio","product":"solidus","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.11.16"}],"ecosystem":"RubyGems","package":"solidus_backend","purl":"pkg:gem/solidus_backend","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.6"}],"ecosystem":"RubyGems","package":"solidus_backend","purl":"pkg:gem/solidus_backend","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.6"}],"ecosystem":"RubyGems","package":"solidus_backend","purl":"pkg:gem/solidus_backend","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.11.16"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.5"},{"status":"affected","introduced":"3.1.0","fixed":"3.1.6"}],"vendor":"nebulab","product":"solidus","cpe":"cpe:2.3:a:nebulab:solidus:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/solidusio/solidus/security/advisories/GHSA-8639-qx56-r428","tags":["exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/solidusio/solidus/commit/de796a2e0be7f154cae48b46e267501559d9716c","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31000","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/solidus_backend/CVE-2022-31000.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/solidusio/solidus","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-22T15:46:02.644Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31000","url":"https://www.cve.org/CVERecord?id=CVE-2022-31000","licence":"CVE Terms of Use","modified":"2025-04-22T17:55:17.777Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8639-qx56-r428","url":"https://github.com/advisories/GHSA-8639-qx56-r428","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:22.169Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31000","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31000","licence":"Public domain","modified":"2026-06-17T04:44:34.827Z"}],"updatedAt":"2026-11-25T22:58:12.019Z","epss":{"score":0.00413,"percentile":0.37591,"date":"2026-12-01T12:00:22.000Z"}}