CVE-2023-46943 (GCVE-0-2023-46943)
Vulnerability from cvelistv5 – Published: 2024-01-13 00:00 – Updated: 2024-08-30 19:08
VLAI?
Summary
An issue was discovered in NPM's package @evershop/evershop before version 1.0.0-rc.8. The HMAC secret used for generating tokens is hardcoded as "secret". A weak HMAC secret poses a risk because attackers can use the predictable secret to create valid JSON Web Tokens (JWTs), allowing them access to important information and actions within the application.
Severity ?
9.1 (Critical)
CWE
- n/a
Assigner
References
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T21:01:21.124Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://devhub.checkmarx.com/cve-details/CVE-2023-46943/"
},
{
"tags": [
"x_transferred"
],
"url": "https://advisory.checkmarx.net/advisory/CVE-2023-46943/"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2023-46943",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-04-02T17:36:06.230121Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-798",
"description": "CWE-798 Use of Hard-coded Credentials",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-08-30T19:08:51.910Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "An issue was discovered in NPM\u0027s package @evershop/evershop before version 1.0.0-rc.8. The HMAC secret used for generating tokens is hardcoded as \"secret\". A weak HMAC secret poses a risk because attackers can use the predictable secret to create valid JSON Web Tokens (JWTs), allowing them access to important information and actions within the application."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-07-25T17:11:32.053216",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"url": "https://devhub.checkmarx.com/cve-details/CVE-2023-46943/"
},
{
"url": "https://advisory.checkmarx.net/advisory/CVE-2023-46943/"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2023-46943",
"datePublished": "2024-01-13T00:00:00",
"dateReserved": "2023-10-30T00:00:00",
"dateUpdated": "2024-08-30T19:08:51.910Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"fkie_nvd": {
"configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:beta:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"72063F43-AC4F-4522-98FE-D19F226F447E\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:beta1:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"76A46DCC-B506-4BB0-BBEE-7888E295CCF4\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:beta2:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"BE498E9E-EE3C-44DC-9606-CEBE443FA9C7\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:beta3:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"BA6D2B18-4489-4622-B9E0-612C64528652\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:beta4:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"692BA821-AF49-4317-BD88-9AC950EEFE2D\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:beta5:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"D4892919-5F76-4913-948C-9001B4A4CBBF\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:rc1:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"1B1AB70B-5FE5-422F-AB27-AF8B6F6CCAFC\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:rc2:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"D76D041A-031D-4117-A582-71EBBD8D57E0\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:rc3:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"D0E794D9-AC2D-4A42-A55B-70C41F5515B1\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:rc5:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"4A8E6238-4AE3-46F0-8C7D-14266B554A59\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:rc6:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"08D9F6D3-DA15-4A6C-B72E-6E05414615FD\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:evershop:evershop:1.0.0:rc7:*:*:*:node.js:*:*\", \"matchCriteriaId\": \"F9EDF547-27B6-4025-BEA9-7EF9E9A4F3BA\"}]}]}]",
"descriptions": "[{\"lang\": \"en\", \"value\": \"An issue was discovered in NPM\u0027s package @evershop/evershop before version 1.0.0-rc.8. The HMAC secret used for generating tokens is hardcoded as \\\"secret\\\". A weak HMAC secret poses a risk because attackers can use the predictable secret to create valid JSON Web Tokens (JWTs), allowing them access to important information and actions within the application.\"}, {\"lang\": \"es\", \"value\": \"Se descubri\\u00f3 un problema en el paquete @evershop/evershop de NPM antes de la versi\\u00f3n 1.0.0-rc.8. El secreto HMAC utilizado para generar tokens est\\u00e1 codificado como \\\"secret\\\". Un secreto HMAC d\\u00e9bil representa un riesgo porque los atacantes pueden usar el secreto predecible para crear tokens web JSON (JWT) v\\u00e1lidos, lo que les permite acceder a informaci\\u00f3n y acciones importantes dentro de la aplicaci\\u00f3n.\"}]",
"id": "CVE-2023-46943",
"lastModified": "2024-11-21T08:29:31.330",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\", \"baseScore\": 9.1, \"baseSeverity\": \"CRITICAL\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 5.2}, {\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\", \"baseScore\": 9.1, \"baseSeverity\": \"CRITICAL\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 5.2}]}",
"published": "2024-01-13T02:15:07.200",
"references": "[{\"url\": \"https://advisory.checkmarx.net/advisory/CVE-2023-46943/\", \"source\": \"cve@mitre.org\"}, {\"url\": \"https://devhub.checkmarx.com/cve-details/CVE-2023-46943/\", \"source\": \"cve@mitre.org\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://advisory.checkmarx.net/advisory/CVE-2023-46943/\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://devhub.checkmarx.com/cve-details/CVE-2023-46943/\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}]",
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Modified",
"weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-798\"}]}, {\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-798\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2023-46943\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2024-01-13T02:15:07.200\",\"lastModified\":\"2024-11-21T08:29:31.330\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"An issue was discovered in NPM\u0027s package @evershop/evershop before version 1.0.0-rc.8. The HMAC secret used for generating tokens is hardcoded as \\\"secret\\\". A weak HMAC secret poses a risk because attackers can use the predictable secret to create valid JSON Web Tokens (JWTs), allowing them access to important information and actions within the application.\"},{\"lang\":\"es\",\"value\":\"Se descubri\u00f3 un problema en el paquete @evershop/evershop de NPM antes de la versi\u00f3n 1.0.0-rc.8. El secreto HMAC utilizado para generar tokens est\u00e1 codificado como \\\"secret\\\". Un secreto HMAC d\u00e9bil representa un riesgo porque los atacantes pueden usar el secreto predecible para crear tokens web JSON (JWT) v\u00e1lidos, lo que les permite acceder a informaci\u00f3n y acciones importantes dentro de la aplicaci\u00f3n.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\",\"baseScore\":9.1,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":5.2},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\",\"baseScore\":9.1,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":5.2}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-798\"}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-798\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:beta:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"72063F43-AC4F-4522-98FE-D19F226F447E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:beta1:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"76A46DCC-B506-4BB0-BBEE-7888E295CCF4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:beta2:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"BE498E9E-EE3C-44DC-9606-CEBE443FA9C7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:beta3:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"BA6D2B18-4489-4622-B9E0-612C64528652\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:beta4:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"692BA821-AF49-4317-BD88-9AC950EEFE2D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:beta5:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"D4892919-5F76-4913-948C-9001B4A4CBBF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:rc1:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"1B1AB70B-5FE5-422F-AB27-AF8B6F6CCAFC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:rc2:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"D76D041A-031D-4117-A582-71EBBD8D57E0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:rc3:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"D0E794D9-AC2D-4A42-A55B-70C41F5515B1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:rc5:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"4A8E6238-4AE3-46F0-8C7D-14266B554A59\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:rc6:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"08D9F6D3-DA15-4A6C-B72E-6E05414615FD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:evershop:evershop:1.0.0:rc7:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"F9EDF547-27B6-4025-BEA9-7EF9E9A4F3BA\"}]}]}],\"references\":[{\"url\":\"https://advisory.checkmarx.net/advisory/CVE-2023-46943/\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://devhub.checkmarx.com/cve-details/CVE-2023-46943/\",\"source\":\"cve@mitre.org\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://advisory.checkmarx.net/advisory/CVE-2023-46943/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://devhub.checkmarx.com/cve-details/CVE-2023-46943/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://devhub.checkmarx.com/cve-details/CVE-2023-46943/\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://advisory.checkmarx.net/advisory/CVE-2023-46943/\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T21:01:21.124Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-46943\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-04-02T17:36:06.230121Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-798\", \"description\": \"CWE-798 Use of Hard-coded Credentials\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-08-30T19:08:43.045Z\"}}], \"cna\": {\"affected\": [{\"vendor\": \"n/a\", \"product\": \"n/a\", \"versions\": [{\"status\": \"affected\", \"version\": \"n/a\"}]}], \"references\": [{\"url\": \"https://devhub.checkmarx.com/cve-details/CVE-2023-46943/\"}, {\"url\": \"https://advisory.checkmarx.net/advisory/CVE-2023-46943/\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"An issue was discovered in NPM\u0027s package @evershop/evershop before version 1.0.0-rc.8. The HMAC secret used for generating tokens is hardcoded as \\\"secret\\\". A weak HMAC secret poses a risk because attackers can use the predictable secret to create valid JSON Web Tokens (JWTs), allowing them access to important information and actions within the application.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"text\", \"description\": \"n/a\"}]}], \"providerMetadata\": {\"orgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"shortName\": \"mitre\", \"dateUpdated\": \"2024-07-25T17:11:32.053216\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2023-46943\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-30T19:08:51.910Z\", \"dateReserved\": \"2023-10-30T00:00:00\", \"assignerOrgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"datePublished\": \"2024-01-13T00:00:00\", \"assignerShortName\": \"mitre\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…