CVE-2021-41120
Last modified
CVE-2021-41120 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. sylius/paypal-plugin is a paypal plugin for the Sylius development platform. In affected versions the URL to the payment page done after checkout was created with autoincremented payment id (/pay-with-paypal/{id}) and therefore it was easy to predict. EPSS estimates a 1.49% chance of exploitation in the next 30 days.
Description
sylius/paypal-plugin is a paypal plugin for the Sylius development platform. In affected versions the URL to the payment page done after checkout was created with autoincremented payment id (/pay-with-paypal/{id}) and therefore it was easy to predict. The problem is that the Credit card form has prefilled "credit card holder" field with the Customer's first and last name and hence this can lead to personally identifiable information exposure. Additionally, the mentioned form did not require authentication. The problem has been patched in Sylius/PayPalPlugin 1.2.4 and 1.3.1. If users are unable to update they can override a sylius_paypal_plugin_pay_with_paypal_form route and change its URL parameters to (for example) {orderToken}/{paymentId}, then override the Sylius\PayPalPlugin\Controller\PayWithPayPalFormAction service, to operate on the payment taken from the repository by these 2 values. It would also require usage of custom repository method. Additionally, one could override the @SyliusPayPalPlugin/payWithPaypal.html.twig template, to add contingencies: ['SCA_ALWAYS'] line in hostedFields.submit(...) function call (line 421). It would then have to be handled in the function callback.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sylius | Paypal | >= 1.0.0, < 1.2.4 |
| Sylius | Paypal | >= 1.3.0, < 1.3.1 |
References
- https://github.com/Sylius/PayPalPlugin/commit/2adc46be2764ccee22b4247139b8056fb8d1afffPatch, Third Party Advisory
- https://github.com/Sylius/PayPalPlugin/commit/814923c2e9d97fe6279dcee866c34ced3d2fb7a7Patch, Third Party Advisory
- https://github.com/Sylius/PayPalPlugin/security/advisories/GHSA-25fx-mxc2-76g7Mitigation, Third Party Advisory
- https://github.com/Sylius/PayPalPlugin/commit/2adc46be2764ccee22b4247139b8056fb8d1afffPatch, Third Party Advisory
- https://github.com/Sylius/PayPalPlugin/commit/814923c2e9d97fe6279dcee866c34ced3d2fb7a7Patch, Third Party Advisory
- https://github.com/Sylius/PayPalPlugin/security/advisories/GHSA-25fx-mxc2-76g7Mitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41120?
How severe is CVE-2021-41120?
How do I fix CVE-2021-41120?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41115Zulip is an open source team chat server. In affected versio…6.5
- CVE-2021-41116Composer is an open source dependency manager for the PHP la…9.8
- CVE-2021-41117keypair is a a RSA PEM key generator written in javascript. …9.1
- CVE-2021-41118The DynamicPageList3 extension is a reporting tool for Media…7.5
- CVE-2021-41119Wire-server is the system server for the wire back-end servi…7.5
- CVE-2021-4112A flaw was found in ansible-tower where the default installa…8.8
- CVE-2021-41121Vyper is a Pythonic Smart Contract Language for the EVM. In …8.8
- CVE-2021-41122Vyper is a Pythonic Smart Contract Language for the EVM. In …4.3
- CVE-2021-41123Survey Solutions is a survey management and data collection …5.3
- CVE-2021-41124Scrapy-splash is a library which provides Scrapy and JavaScr…7.5
- CVE-2021-41125Scrapy is a high-level web crawling and scraping framework f…6.5
- CVE-2021-41126October is a Content Management System (CMS) and web platfor…7.2
Are you affected by CVE-2021-41120?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
