CVE-2018-0023

Junos Snapshot Administrator (JSNAPy) world writeable default configuration file permission

Published Apr 11, 2018 CVSS 3.0 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

Vendor Solution

This issue is resolved in 1.3.0 and subsequent releases. Fixed JSNAPy releases can be downloaded from https://github.com/Juniper/jsnapy/releases.


Vendor Workaround

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-0077 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.
Github GHSA Github GHSA GHSA-qc55-vm3j-74gp JSNAPy allows unprivileged local users to alter files under the directory
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
juniper
Published
Updated
Sep 16, 2024, 4:13 PM
Reserved
Nov 16, 2017, 12:00 AM
Status
Modified
Published
Apr 11, 2018, 7:29 PM
Modified
Jun 17, 2026, 1:29 AM