Lookup for vulnerable packages by Package URL.
| Purl | pkg:pypi/flask-security-too@3.2.0 |
| Type | pypi |
| Namespace | |
| Name | flask-security-too |
| Version | 3.2.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 5.3.3 |
| Latest_non_vulnerable_version | 5.8.1 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-2ru3-9p5p-efep |
| vulnerability_id |
VCID-2ru3-9p5p-efep |
| summary |
CSRF Vuln can expose user's QRcode
### Impact
When a user is setting up two-factor authentication using an authenticator app, a QRcode is generated and made available via a GET request to /tf-qrcode. Since GETs do not have any CSRF protection, it is possible a malicious 3rd party could access the QRcode and therefore gain access to two-factor authentication codes. Note that the /tf-qrcode endpoint is ONLY accessible while the user is initially setting up their device. Once setup is complete, there is no vulnerability.
### Patches
This is fixed in the upcoming 4.0.0 release.
### Workarounds
You can provide your own URL for fetching the QRcode by defining SECURITY_TWO_FACTOR_QRCODE_URL and providing your own implementation (that presumably required a POST with CSRF protection). This would require changing the two-factor setup template as well.
### References
None.
### For more information
If you have any questions or comments about this advisory:
* Read this pull request: #423 |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-fxq4-r6mr-9x64
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-2ru3-9p5p-efep |
|
| 1 |
| url |
VCID-5k8g-v79c-zkcc |
| vulnerability_id |
VCID-5k8g-v79c-zkcc |
| summary |
An open redirect vulnerability in the python package Flask-Security-Too <=5.3.2 allows attackers to redirect unsuspecting users to malicious sites via a crafted URL by abusing the ?next parameter on the /login and /register routes. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2023-49438, GHSA-672h-6x89-76m5, PYSEC-2023-248
|
| risk_score |
2.8 |
| exploitability |
0.5 |
| weighted_severity |
5.5 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-5k8g-v79c-zkcc |
|
| 2 |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 2.8 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:pypi/flask-security-too@3.2.0 |