cve-2023-49657
Vulnerability from cvelistv5
Published
2024-01-23 15:06
Modified
2024-08-02 22:01
Severity ?
Summary
A stored cross-site scripting (XSS) vulnerability exists in Apache Superset before 3.0.3. An authenticated attacker with create/update permissions on charts or dashboards could store a script or add a specific HTML snippet that would act as a stored XSS. For 2.X versions, users should change their config to include: TALISMAN_CONFIG = {     "content_security_policy": {         "base-uri": ["'self'"],         "default-src": ["'self'"],         "img-src": ["'self'", "blob:", "data:"],         "worker-src": ["'self'", "blob:"],         "connect-src": [             "'self'",             " https://api.mapbox.com" https://api.mapbox.com" ;,             " https://events.mapbox.com" https://events.mapbox.com" ;,         ],         "object-src": "'none'",         "style-src": [             "'self'",             "'unsafe-inline'",         ],         "script-src": ["'self'", "'strict-dynamic'"],     },     "content_security_policy_nonce_in": ["script-src"],     "force_https": False,     "session_cookie_secure": False, }
Impacted products
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T22:01:25.916Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "vendor-advisory",
                     "x_transferred",
                  ],
                  url: "https://lists.apache.org/thread/wjyvz8om9nwd396lh0bt156mtwjxpsvx",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Apache Superset",
               vendor: "Apache Software Foundation",
               versions: [
                  {
                     lessThan: "3.0.3",
                     status: "affected",
                     version: "0",
                     versionType: "semver",
                  },
               ],
            },
         ],
         credits: [
            {
               lang: "en",
               type: "reporter",
               value: "Nick Barnes, Praetorian Security Inc.",
            },
            {
               lang: "en",
               type: "reporter",
               value: "Amit Laish – GE Vernova",
            },
         ],
         descriptions: [
            {
               lang: "en",
               supportingMedia: [
                  {
                     base64: false,
                     type: "text/html",
                     value: "<span style=\"background-color: rgb(255, 255, 255);\">A stored cross-site scripting (XSS) vulnerability exists in Apache Superset before 3.0.3.&nbsp;</span>An authenticated attacker with create/update permissions on charts or dashboards could store a script or add a specific HTML snippet that would act as a stored XSS.<br><br>For 2.X versions, users should change their config to include:<br><br>TALISMAN_CONFIG = {<br>&nbsp; &nbsp; \"content_security_policy\": {<br>&nbsp; &nbsp; &nbsp; &nbsp; \"base-uri\": [\"'self'\"],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"default-src\": [\"'self'\"],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"img-src\": [\"'self'\", \"blob:\", \"data:\"],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"worker-src\": [\"'self'\", \"blob:\"],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"connect-src\": [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"'self'\",<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"<a target=\"_blank\" rel=\"nofollow\" href=\"https://api.mapbox.com&quot;\">https://api.mapbox.com\"</a>;,<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"<a target=\"_blank\" rel=\"nofollow\" href=\"https://events.mapbox.com&quot;\">https://events.mapbox.com\"</a>;,<br>&nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"object-src\": \"'none'\",<br>&nbsp; &nbsp; &nbsp; &nbsp; \"style-src\": [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"'self'\",<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"'unsafe-inline'\",<br>&nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"script-src\": [\"'self'\", \"'strict-dynamic'\"],<br>&nbsp; &nbsp; },<br>&nbsp; &nbsp; \"content_security_policy_nonce_in\": [\"script-src\"],<br>&nbsp; &nbsp; \"force_https\": False,<br>&nbsp; &nbsp; \"session_cookie_secure\": False,<br>}<br><br>",
                  },
               ],
               value: "A stored cross-site scripting (XSS) vulnerability exists in Apache Superset before 3.0.3. An authenticated attacker with create/update permissions on charts or dashboards could store a script or add a specific HTML snippet that would act as a stored XSS.\n\nFor 2.X versions, users should change their config to include:\n\nTALISMAN_CONFIG = {\n    \"content_security_policy\": {\n        \"base-uri\": [\"'self'\"],\n        \"default-src\": [\"'self'\"],\n        \"img-src\": [\"'self'\", \"blob:\", \"data:\"],\n        \"worker-src\": [\"'self'\", \"blob:\"],\n        \"connect-src\": [\n            \"'self'\",\n            \" https://api.mapbox.com\" https://api.mapbox.com\" ;,\n            \" https://events.mapbox.com\" https://events.mapbox.com\" ;,\n        ],\n        \"object-src\": \"'none'\",\n        \"style-src\": [\n            \"'self'\",\n            \"'unsafe-inline'\",\n        ],\n        \"script-src\": [\"'self'\", \"'strict-dynamic'\"],\n    },\n    \"content_security_policy_nonce_in\": [\"script-src\"],\n    \"force_https\": False,\n    \"session_cookie_secure\": False,\n}\n\n",
            },
         ],
         metrics: [
            {
               cvssV3_1: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 9.6,
                  baseSeverity: "CRITICAL",
                  confidentialityImpact: "HIGH",
                  integrityImpact: "HIGH",
                  privilegesRequired: "LOW",
                  scope: "CHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N",
                  version: "3.1",
               },
               format: "CVSS",
               scenarios: [
                  {
                     lang: "en",
                     value: "GENERAL",
                  },
               ],
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-79",
                     description: "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-01-29T08:35:38.250Z",
            orgId: "f0158376-9dc2-43b6-827c-5f631a4d8d09",
            shortName: "apache",
         },
         references: [
            {
               tags: [
                  "vendor-advisory",
               ],
               url: "https://lists.apache.org/thread/wjyvz8om9nwd396lh0bt156mtwjxpsvx",
            },
         ],
         source: {
            discovery: "UNKNOWN",
         },
         title: "Apache Superset: Stored XSS in Dashboard Title and Chart Title",
         x_generator: {
            engine: "Vulnogram 0.1.0-dev",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "f0158376-9dc2-43b6-827c-5f631a4d8d09",
      assignerShortName: "apache",
      cveId: "CVE-2023-49657",
      datePublished: "2024-01-23T15:06:59.901Z",
      dateReserved: "2023-11-28T21:39:07.846Z",
      dateUpdated: "2024-08-02T22:01:25.916Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2023-49657\",\"sourceIdentifier\":\"security@apache.org\",\"published\":\"2024-01-23T15:15:11.667\",\"lastModified\":\"2024-11-21T08:33:40.370\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"A stored cross-site scripting (XSS) vulnerability exists in Apache Superset before 3.0.3. An authenticated attacker with create/update permissions on charts or dashboards could store a script or add a specific HTML snippet that would act as a stored XSS.\\n\\nFor 2.X versions, users should change their config to include:\\n\\nTALISMAN_CONFIG = {\\n    \\\"content_security_policy\\\": {\\n        \\\"base-uri\\\": [\\\"'self'\\\"],\\n        \\\"default-src\\\": [\\\"'self'\\\"],\\n        \\\"img-src\\\": [\\\"'self'\\\", \\\"blob:\\\", \\\"data:\\\"],\\n        \\\"worker-src\\\": [\\\"'self'\\\", \\\"blob:\\\"],\\n        \\\"connect-src\\\": [\\n            \\\"'self'\\\",\\n            \\\" https://api.mapbox.com\\\" https://api.mapbox.com\\\" ;,\\n            \\\" https://events.mapbox.com\\\" https://events.mapbox.com\\\" ;,\\n        ],\\n        \\\"object-src\\\": \\\"'none'\\\",\\n        \\\"style-src\\\": [\\n            \\\"'self'\\\",\\n            \\\"'unsafe-inline'\\\",\\n        ],\\n        \\\"script-src\\\": [\\\"'self'\\\", \\\"'strict-dynamic'\\\"],\\n    },\\n    \\\"content_security_policy_nonce_in\\\": [\\\"script-src\\\"],\\n    \\\"force_https\\\": False,\\n    \\\"session_cookie_secure\\\": False,\\n}\\n\\n\"},{\"lang\":\"es\",\"value\":\"Existe una vulnerabilidad de cross-site scripting (XSS) almacenado en Apache Superset anterior a 3.0.3. Un atacante autenticado con permisos de creación/actualización en gráficos o paneles podría almacenar un script o agregar un fragmento HTML específico que actuaría como un XSS almacenado. Para las versiones 2.X, los usuarios deben cambiar su configuración para incluir: TALISMAN_CONFIG = { \\\"content_security_policy\\\": { \\\"base-uri\\\": [\\\"'self'\\\"], \\\"default-src\\\": [\\\"'self'\\\"], \\\"img-src\\\": [\\\"'self'\\\", \\\"blob:\\\", \\\"data:\\\"], \\\"worker-src\\\": [\\\"'self'\\\", \\\"blob:\\\"], \\\"connect-src\\\": [ \\\"'self'\\\", \\\" https://api.mapbox.com\\\" https://api.mapbox.com\\\" ;, \\\" https://events.mapbox.com\\\" https://events.mapbox.com\\\" ;, ], \\\"object-src\\\": \\\"'none'\\\", \\\"style-src\\\": [ \\\"'self'\\\", \\\"'unsafe-inline'\\\", ], \\\"script-src\\\": [\\\"'self' \\\", \\\"'strict-dynamic'\\\"], }, \\\"content_security_policy_nonce_in\\\": [\\\"script-src\\\"], \\\"force_https\\\": False, \\\"session_cookie_secure\\\": False, }\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@apache.org\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N\",\"baseScore\":9.6,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.1,\"impactScore\":5.8},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N\",\"baseScore\":5.4,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"REQUIRED\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.3,\"impactScore\":2.7}]},\"weaknesses\":[{\"source\":\"security@apache.org\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-79\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"3.0.3\",\"matchCriteriaId\":\"25A47BD4-DAC6-48F8-9B00-A1B7A4547B05\"}]}]}],\"references\":[{\"url\":\"https://lists.apache.org/thread/wjyvz8om9nwd396lh0bt156mtwjxpsvx\",\"source\":\"security@apache.org\",\"tags\":[\"Mailing List\",\"Mitigation\",\"Vendor Advisory\"]},{\"url\":\"https://lists.apache.org/thread/wjyvz8om9nwd396lh0bt156mtwjxpsvx\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Mailing List\",\"Mitigation\",\"Vendor Advisory\"]}]}}",
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.