{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2018-0052",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2018-0052",
    "idYear": 2018,
    "status": "PUBLISHED",
    "publishedAt": "2018-10-10T18:00:00.000Z",
    "updatedAt": "2024-09-16T20:52:00.180Z",
    "importedAt": "2026-10-24T01:55:56.138Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Junos OS: Unauthenticated remote root access possible when RSH service is enabled",
      "summary": "If RSH service is enabled on Junos OS and if the PAM authentication is disabled, a remote unauthenticated attacker can obtain root access to the device. RSH service is disabled by default on Junos. There is no documented CLI command to enable this service. However, an undocumented CLI command allows a privileged Junos user to enable RSH service and disable PAM, and hence expose the system to unauthenticated root access. When RSH is enabled, the device is listing to RSH connections on port 514. This issue is not exploitable on platforms where Junos release is based on FreeBSD 10+. Affected releases are Juniper Networks Junos OS: 12.1X46 versions prior to 12.1X46-D77 on SRX Series; 12.3 versions prior to 12.3R12-S10; 12.3X48 versions prior to 12.3X48-D75 on SRX Series; 14.1X53 versions prior to 14.1X53-D47 on QFX/EX Series; 15.1 versions prior to 15.1R4-S9, 15.1R6-S6, 15.1R7; 15.1X49 versions prior to 15.1X49-D131, 15.1X49-D140 on SRX Series; 15.1X53 versions prior to 15.1X53-D59 on EX2300/EX3400 Series; 15.1X53 versions prior to 15.1X53-D67 on QFX10K Series; 15.1X53 versions prior to 15.1X53-D233 on QFX5200/QFX5110 Series; 15.1X53 versions prior to 15.1X53-D471, 15.1X53-D490 on NFX Series; 16.1 versions prior to 16.1R3-S9, 16.1R4-S9, 16.1R5-S4, 16.1R6-S4, 16.1R7; 16.2 versions prior to 16.2R2-S5; 17.1 versions prior to 17.1R1-S7, 17.1R2-S7, 17.1R3; 17.2 versions prior to 17.2R1-S6, 17.2R2-S4, 17.2R3; 17.2X75 versions prior to 17.2X75-D110, 17.2X75-D91; 17.3 versions prior to 17.3R1-S4, 17.3R2-S2, 17.3R3; 17.4 versions prior to 17.4R1-S3, 17.4R2; 18.2X75 versions prior to 18.2X75-D5.",
      "affected": [
        {
          "vendor": "Juniper Networks",
          "product": "Junos OS",
          "platforms": [
            "SRX Series"
          ],
          "versions": [
            {
              "version": "12.1X46",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "12.1X46-D77"
            },
            {
              "version": "12.3X48",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "12.3X48-D75"
            },
            {
              "version": "15.1X49",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "15.1X49-D131, 15.1X49-D140"
            }
          ]
        },
        {
          "vendor": "Juniper Networks",
          "product": "Junos OS",
          "versions": [
            {
              "version": "12.3",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "12.3R12-S10"
            },
            {
              "version": "15.1",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "15.1R4-S9, 15.1R6-S6, 15.1R7"
            },
            {
              "version": "16.1",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "16.1R3-S9, 16.1R4-S9, 16.1R5-S4, 16.1R6-S4, 16.1R7"
            },
            {
              "version": "16.2",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "16.2R2-S5"
            },
            {
              "version": "17.1",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "17.1R1-S7, 17.1R2-S7, 17.1R3"
            },
            {
              "version": "17.2",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "17.2R1-S6, 17.2R2-S4, 17.2R3"
            },
            {
              "version": "17.2X75",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "17.2X75-D110, 17.2X75-D91"
            },
            {
              "version": "17.3",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "17.3R1-S4, 17.3R2-S2, 17.3R3"
            },
            {
              "version": "17.4",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "17.4R1-S3, 17.4R2"
            },
            {
              "version": "18.2X75",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "18.2X75-D5"
            }
          ]
        },
        {
          "vendor": "Juniper Networks",
          "product": "Junos OS",
          "platforms": [
            "QFX/EX Series"
          ],
          "versions": [
            {
              "version": "14.1X53",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "14.1X53-D47"
            }
          ]
        },
        {
          "vendor": "Juniper Networks",
          "product": "Junos OS",
          "platforms": [
            "EX2300/EX3400 Series"
          ],
          "versions": [
            {
              "version": "15.1X53",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "15.1X53-D59"
            }
          ]
        },
        {
          "vendor": "Juniper Networks",
          "product": "Junos OS",
          "platforms": [
            "QFX10K Series"
          ],
          "versions": [
            {
              "version": "15.1X53",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "15.1X53-D67"
            }
          ]
        },
        {
          "vendor": "Juniper Networks",
          "product": "Junos OS",
          "platforms": [
            "QFX5200/QFX5110 Series"
          ],
          "versions": [
            {
              "version": "15.1X53",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "15.1X53-D233"
            }
          ]
        },
        {
          "vendor": "Juniper Networks",
          "product": "Junos OS",
          "platforms": [
            "NFX Series"
          ],
          "versions": [
            {
              "version": "15.1X53",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "15.1X53-D471, 15.1X53-D490"
            }
          ]
        }
      ]
    }
  }
}