{"id":"CVE-2018-0023","published":"2018-04-11T19:00:00Z","modified":"2024-09-16T16:13:34Z","title":"Junos Snapshot Administrator (JSNAPy) world writeable default configuration file permission","vendor":"Juniper Networks","product":"Junos Snapshot Administrator (JSNAPy)","tier":"tail","description":{"text":"JSNAPy is an open source python version of Junos Snapshot Administrator developed by Juniper available through github. The default configuration and sample files of JSNAPy automation tool versions prior to 1.3.0 are created world writable. This insecure file and directory permission allows unprivileged local users to alter the files under this directory including inserting operations not intended by the package maintainer, system administrator, or other users. This issue only affects users who downloaded and installed JSNAPy from github.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00293,"percentile":0.22386,"provenance":"source"},"cwes":[],"references":[{"url":"https://kb.juniper.net/JSA10856","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/103745","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":4.48},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"juniper","affectedVersions":[{"vendor":"Juniper Networks","product":"Junos Snapshot Administrator (JSNAPy)","versions":[">= all, < 1.3.0"]}],"solutions":{"items":["This issue is resolved in 1.3.0 and subsequent releases. Fixed JSNAPy releases can be downloaded from https://github.com/Juniper/jsnapy/releases.","Upgrading to the fixed release is not sufficient to resolve the issue, modifying file permission after upgrade as described in the workaround section is required. This issue is fixed for fresh/new installation."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["The workaround is to change the related files and directory to group/world to readable, but not writable: # sudo chmod -R og-w /etc/jsnapy # ls -l /etc/jsnapy/ total 20 -rwxr-xr-x 1 root root 387 Aug 9 2016 jsnapy.cfg -rwxr-xr-x 1 root root 1695 Aug 9 2016 logging.yml drwxr-xr-x 2 root root 4096 Aug 26 2016 samples drwxr-xr-x 2 root root 4096 Aug 26 2016 snapshots drwxr-xr-x 2 root root 4096 Aug 26 2016 testfiles"],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jsnapy","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-qc55-vm3j-74gp","PYSEC-2018-84"],"provenance":"source"}],"summary":{"text":"The flaw is in the default configuration and sample files of the Junos Snapshot Administrator (JSNAPy) automation tool, which Juniper Networks makes available as an open source Python project on GitHub, where these files and their directory are created world-writable. An attacker with a local, unprivileged account on a system where JSNAPy was installed from GitHub can modify these files, including inserting operations the maintainer, administrator, or other users did not intend, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:58Z"},"euvd":{"id":"EUVD-2018-0077","exploited":false,"provenance":"source"}}