gsd-2017-9802
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript 'eval' function to parse input strings, which allows for XSS attacks by passing specially crafted input strings.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2017-9802",
    "description": "The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript \u0027eval\u0027 function to parse input strings, which allows for XSS attacks by passing specially crafted input strings.",
    "id": "GSD-2017-9802"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2017-9802"
      ],
      "details": "The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript \u0027eval\u0027 function to parse input strings, which allows for XSS attacks by passing specially crafted input strings.",
      "id": "GSD-2017-9802",
      "modified": "2023-12-13T01:21:08.059933Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@apache.org",
        "ID": "CVE-2017-9802",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript \u0027eval\u0027 function to parse input strings, which allows for XSS attacks by passing specially crafted input strings."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "100284",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/100284"
          },
          {
            "name": "20170814 CVE-2017-9802: Apache Sling XSS vulnerability",
            "refsource": "BUGTRAQ",
            "url": "http://www.securityfocus.com/archive/1/541024/100/0/threaded"
          },
          {
            "name": "http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html",
            "refsource": "MISC",
            "url": "http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html"
          },
          {
            "name": "[dev] 20170814 CVE-2017-9802: Apache Sling XSS vulnerability",
            "refsource": "MLIST",
            "url": "https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91@%3Cdev.sling.apache.org%3E"
          },
          {
            "name": "https://issues.apache.org/jira/browse/SLING-7041",
            "refsource": "CONFIRM",
            "url": "https://issues.apache.org/jira/browse/SLING-7041"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "(,2.3.22)",
          "affected_versions": "All versions before 2.3.22",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2022-06-30",
          "description": "The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript \u0027eval\u0027 function to parse input strings, which allows for XSS attacks by passing specially crafted input strings.",
          "fixed_versions": [
            "2.3.22"
          ],
          "identifier": "CVE-2017-9802",
          "identifiers": [
            "GHSA-8c82-9rgp-4qvr",
            "CVE-2017-9802"
          ],
          "not_impacted": "All versions starting from 2.3.22",
          "package_slug": "maven/org.apache.sling/org.apache.sling.servlets.post",
          "pubdate": "2022-05-14",
          "solution": "Upgrade to version 2.3.22 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2017-9802",
            "https://issues.apache.org/jira/browse/SLING-7041",
            "https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91@%3Cdev.sling.apache.org%3E",
            "http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html",
            "http://www.securityfocus.com/archive/1/541024/100/0/threaded",
            "http://www.securityfocus.com/bid/100284",
            "https://github.com/advisories/GHSA-8c82-9rgp-4qvr"
          ],
          "uuid": "1fe22bf8-3189-4f0e-9de6-5425dc33b0f6"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:apache:sling_servlets_post:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "2.3.20",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@apache.org",
          "ID": "CVE-2017-9802"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript \u0027eval\u0027 function to parse input strings, which allows for XSS attacks by passing specially crafted input strings."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "[dev] 20170814 CVE-2017-9802: Apache Sling XSS vulnerability",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Vendor Advisory"
              ],
              "url": "https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91@%3Cdev.sling.apache.org%3E"
            },
            {
              "name": "https://issues.apache.org/jira/browse/SLING-7041",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Vendor Advisory"
              ],
              "url": "https://issues.apache.org/jira/browse/SLING-7041"
            },
            {
              "name": "100284",
              "refsource": "BID",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/bid/100284"
            },
            {
              "name": "http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html",
              "refsource": "MISC",
              "tags": [],
              "url": "http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html"
            },
            {
              "name": "20170814 CVE-2017-9802: Apache Sling XSS vulnerability",
              "refsource": "BUGTRAQ",
              "tags": [],
              "url": "http://www.securityfocus.com/archive/1/541024/100/0/threaded"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.0"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2018-10-09T20:01Z",
      "publishedDate": "2017-08-14T13:29Z"
    }
  }
}


Log in or create an account to share your comment.




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.