gsd-2016-5725
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\ (dot dot backslash) in a response to a recursive GET command.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2016-5725",
      description: "Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\\ (dot dot backslash) in a response to a recursive GET command.",
      id: "GSD-2016-5725",
      references: [
         "https://www.suse.com/security/cve/CVE-2016-5725.html",
         "https://access.redhat.com/errata/RHSA-2017:3115",
         "https://advisories.mageia.org/CVE-2016-5725.html",
         "https://packetstormsecurity.com/files/cve/CVE-2016-5725",
      ],
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2016-5725",
         ],
         details: "Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\\ (dot dot backslash) in a response to a recursive GET command.",
         id: "GSD-2016-5725",
         modified: "2023-12-13T01:21:25.547056Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "cve@mitre.org",
            ID: "CVE-2016-5725",
            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: "Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\\ (dot dot backslash) in a response to a recursive GET command.",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        lang: "eng",
                        value: "n/a",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "20160921 CVE-2016-5725 - JCraft/JSch Java Secure Channel <= 0.1.53 recursive sftp-get path traversal (client-side, windows)",
                  refsource: "FULLDISC",
                  url: "http://seclists.org/fulldisclosure/2016/Sep/53",
               },
               {
                  name: "93100",
                  refsource: "BID",
                  url: "http://www.securityfocus.com/bid/93100",
               },
               {
                  name: "RHSA-2017:3115",
                  refsource: "REDHAT",
                  url: "https://access.redhat.com/errata/RHSA-2017:3115",
               },
               {
                  name: "40411",
                  refsource: "EXPLOIT-DB",
                  url: "https://www.exploit-db.com/exploits/40411/",
               },
               {
                  name: "[debian-lts-announce] 20200425 [SECURITY] [DLA 2184-1] jsch security update",
                  refsource: "MLIST",
                  url: "https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html",
               },
               {
                  name: "https://www.oracle.com/security-alerts/cpuoct2020.html",
                  refsource: "MISC",
                  url: "https://www.oracle.com/security-alerts/cpuoct2020.html",
               },
               {
                  name: "http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html",
                  refsource: "MISC",
                  url: "http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html",
               },
               {
                  name: "https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725",
                  refsource: "MISC",
                  url: "https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725",
               },
               {
                  name: "http://www.jcraft.com/jsch/ChangeLog",
                  refsource: "CONFIRM",
                  url: "http://www.jcraft.com/jsch/ChangeLog",
               },
               {
                  name: "https://www.oracle.com/security-alerts/cpujan2021.html",
                  refsource: "MISC",
                  url: "https://www.oracle.com/security-alerts/cpujan2021.html",
               },
               {
                  name: "https://www.oracle.com/security-alerts/cpuApr2021.html",
                  refsource: "MISC",
                  url: "https://www.oracle.com/security-alerts/cpuApr2021.html",
               },
            ],
         },
      },
      "gitlab.com": {
         advisories: [
            {
               affected_range: "(,0.1.53]",
               affected_versions: "All versions up to 0.1.53",
               cvss_v2: "AV:N/AC:M/Au:N/C:N/I:P/A:N",
               cvss_v3: "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-22",
                  "CWE-937",
               ],
               date: "2022-07-06",
               description: "Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\\ (dot dot backslash) in a response to a recursive GET command.",
               fixed_versions: [
                  "0.1.54",
               ],
               identifier: "CVE-2016-5725",
               identifiers: [
                  "GHSA-q446-82vq-w674",
                  "CVE-2016-5725",
               ],
               not_impacted: "All versions after 0.1.53",
               package_slug: "maven/com.jcraft/jsch",
               pubdate: "2022-05-13",
               solution: "Upgrade to version 0.1.54 or above.",
               title: "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2016-5725",
                  "https://access.redhat.com/errata/RHSA-2017:3115",
                  "https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725",
                  "https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html",
                  "https://www.exploit-db.com/exploits/40411/",
                  "https://www.oracle.com/security-alerts/cpuApr2021.html",
                  "https://www.oracle.com/security-alerts/cpujan2021.html",
                  "https://www.oracle.com/security-alerts/cpuoct2020.html",
                  "http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html",
                  "http://seclists.org/fulldisclosure/2016/Sep/53",
                  "http://www.jcraft.com/jsch/ChangeLog",
                  "https://github.com/advisories/GHSA-q446-82vq-w674",
               ],
               uuid: "d17468c3-6a4c-41d2-8007-7aab8c6c4372",
            },
         ],
      },
      "nvd.nist.gov": {
         configurations: {
            CVE_data_version: "4.0",
            nodes: [
               {
                  children: [
                     {
                        children: [],
                        cpe_match: [
                           {
                              cpe23Uri: "cpe:2.3:a:jcraft:jsch:*:*:*:*:*:*:*:*",
                              cpe_name: [],
                              versionEndIncluding: "0.1.53",
                              vulnerable: true,
                           },
                        ],
                        operator: "OR",
                     },
                     {
                        children: [],
                        cpe_match: [
                           {
                              cpe23Uri: "cpe:2.3:o:microsoft:windows:*:*:*:*:*:*:*:*",
                              cpe_name: [],
                              vulnerable: false,
                           },
                        ],
                        operator: "OR",
                     },
                  ],
                  cpe_match: [],
                  operator: "AND",
               },
            ],
         },
         cve: {
            CVE_data_meta: {
               ASSIGNER: "cve@mitre.org",
               ID: "CVE-2016-5725",
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "en",
                     value: "Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\\ (dot dot backslash) in a response to a recursive GET command.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "en",
                           value: "CWE-22",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "40411",
                     refsource: "EXPLOIT-DB",
                     tags: [
                        "Third Party Advisory",
                        "VDB Entry",
                     ],
                     url: "https://www.exploit-db.com/exploits/40411/",
                  },
                  {
                     name: "https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725",
                     refsource: "MISC",
                     tags: [
                        "Third Party Advisory",
                     ],
                     url: "https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725",
                  },
                  {
                     name: "93100",
                     refsource: "BID",
                     tags: [
                        "Third Party Advisory",
                        "VDB Entry",
                     ],
                     url: "http://www.securityfocus.com/bid/93100",
                  },
                  {
                     name: "http://www.jcraft.com/jsch/ChangeLog",
                     refsource: "CONFIRM",
                     tags: [
                        "Release Notes",
                     ],
                     url: "http://www.jcraft.com/jsch/ChangeLog",
                  },
                  {
                     name: "20160921 CVE-2016-5725 - JCraft/JSch Java Secure Channel <= 0.1.53 recursive sftp-get path traversal (client-side, windows)",
                     refsource: "FULLDISC",
                     tags: [
                        "Mailing List",
                        "Third Party Advisory",
                     ],
                     url: "http://seclists.org/fulldisclosure/2016/Sep/53",
                  },
                  {
                     name: "http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html",
                     refsource: "MISC",
                     tags: [
                        "Third Party Advisory",
                        "VDB Entry",
                     ],
                     url: "http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html",
                  },
                  {
                     name: "RHSA-2017:3115",
                     refsource: "REDHAT",
                     tags: [],
                     url: "https://access.redhat.com/errata/RHSA-2017:3115",
                  },
                  {
                     name: "[debian-lts-announce] 20200425 [SECURITY] [DLA 2184-1] jsch security update",
                     refsource: "MLIST",
                     tags: [],
                     url: "https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html",
                  },
                  {
                     name: "https://www.oracle.com/security-alerts/cpuoct2020.html",
                     refsource: "MISC",
                     tags: [],
                     url: "https://www.oracle.com/security-alerts/cpuoct2020.html",
                  },
                  {
                     name: "https://www.oracle.com/security-alerts/cpujan2021.html",
                     refsource: "MISC",
                     tags: [],
                     url: "https://www.oracle.com/security-alerts/cpujan2021.html",
                  },
                  {
                     name: "https://www.oracle.com/security-alerts/cpuApr2021.html",
                     refsource: "MISC",
                     tags: [],
                     url: "https://www.oracle.com/security-alerts/cpuApr2021.html",
                  },
               ],
            },
         },
         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: false,
            },
            baseMetricV3: {
               cvssV3: {
                  attackComplexity: "HIGH",
                  attackVector: "NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 5.9,
                  baseSeverity: "MEDIUM",
                  confidentialityImpact: "NONE",
                  integrityImpact: "HIGH",
                  privilegesRequired: "NONE",
                  scope: "UNCHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                  version: "3.0",
               },
               exploitabilityScore: 2.2,
               impactScore: 3.6,
            },
         },
         lastModifiedDate: "2021-06-14T18:15Z",
         publishedDate: "2017-01-19T22:59Z",
      },
   },
}


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.