Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/express-cart@1.1.4 |
| Type | npm |
| Namespace | |
| Name | express-cart |
| Version | 1.1.4 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | null |
| Latest_non_vulnerable_version | null |
| Affected_by_vulnerabilities |
| 0 |
|
| 1 |
| url |
VCID-2cjq-uzsm-1uer |
| vulnerability_id |
VCID-2cjq-uzsm-1uer |
| summary |
express-cart allows any user to create an admin user
Express-Cart before 1.1.6 allows remote attackers to create an admin user via an `/admin/setup` Referer header. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2018-12457, GHSA-hr89-w7p6-pjmq
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-2cjq-uzsm-1uer |
|
| 2 |
| url |
VCID-atgx-r2qy-8ufe |
| vulnerability_id |
VCID-atgx-r2qy-8ufe |
| summary |
NoSQL injection in express-cart
Versions of `express-cart` before 1.1.8 are vulnerable to NoSQL injection.
The vulnerability is caused by the lack of user input sanitization in the login handlers. In both cases, the customer login and the admin login, parameters from the JSON body are sent directly into the MongoDB query which allows to insert operators.
These operators can be used to extract the value of the field blindly in the same manner of a blind SQL injection. In this case, the `$regex` operator is used to guess each character of the token from the start.
## Recommendation
Update to version 1.1.8 or later. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-f5cv-xrv9-r8w7, GMS-2020-717
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-atgx-r2qy-8ufe |
|
| 3 |
|
| 4 |
|
| 5 |
| url |
VCID-ewh1-bpnm-8fh4 |
| vulnerability_id |
VCID-ewh1-bpnm-8fh4 |
| summary |
Privilege Escalation in express-cart
Versions of `express-cart` before 1.1.6 are vulnerable to privilege escalation. This vulnerability can be exploited so that normal users can escalate their privilege and add new administrator users.
## Recommendation
Update to version 1.1.6 or later. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-3fc5-9x9m-vqc4, GMS-2019-122
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-ewh1-bpnm-8fh4 |
|
| 6 |
|
| 7 |
| url |
VCID-wk1m-n6h7-ufbv |
| vulnerability_id |
VCID-wk1m-n6h7-ufbv |
| summary |
Improper Privilege Management
A deficiency in the access control in module express-cart allows unprivileged users to add new users to the application as administrators. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2018-16483, GHSA-wj36-v8j4-pc7c
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-wk1m-n6h7-ufbv |
|
| 8 |
| url |
VCID-wx6w-8yww-v3em |
| vulnerability_id |
VCID-wx6w-8yww-v3em |
| summary |
Cross-site Scripting
(This issue is currently in DISPUTED state). The express-cart package for Node.js allows Reflected XSS (for an admin) via a user input field for product options. The vendor states that this "would rely on an admin hacking his/her own website." |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2021-32573
|
| risk_score |
null |
| exploitability |
0.5 |
| weighted_severity |
0.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-wx6w-8yww-v3em |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.5 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/express-cart@1.1.4 |