{"id":"CVE-2017-7358","aliases":["EUVD-2017-16385","GHSA-487j-vfqw-h49x","UBUNTU-CVE-2017-7358","USN-3255-1"],"status":"published","title":"In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local...","description":"In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path locations and escalate privileges to root when the guest user logs out.","severity":{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02669,"percentile":0.85846,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2017-04-04T21:00:00Z","modified":"2026-10-24T10:30:40Z","exploits":[{"source":"exploitdb","id":"EDB-41923","title":"LightDM (Ubuntu 16.04/16.10) - 'Guest Account' Local Privilege Escalation","type":"local","platform":"linux","date":"2017-04-25","url":"https://www.exploit-db.com/exploits/41923"},{"source":"pocgithub","id":"JonPichel/CVE-2017-7358","title":"JonPichel/CVE-2017-7358","date":"2023-02-25","url":"https://github.com/JonPichel/CVE-2017-7358"}],"fixes":[{"ecosystem":"Ubuntu:16.04:LTS","package":"lightdm","fixed_in":["1.18.3-0ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"lightdm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18.3-0ubuntu1.1"}]}],"versions":["1.16.4-0ubuntu1","1.17.0-0ubuntu1","1.17.1-0ubuntu1","1.17.1-0ubuntu2","1.17.2-0ubuntu1","1.17.3-0ubuntu1","1.17.4-0ubuntu1","1.17.5-0ubuntu2","1.17.6-0ubuntu1","1.18.0-0ubuntu1","1.18.0-0ubuntu2","1.18.1-0ubuntu1","1.18.2-0ubuntu1","1.18.2-0ubuntu2","1.18.3-0ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"lightdm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18.3-0ubuntu1.1"}]}],"versions":["1.16.4-0ubuntu1","1.17.0-0ubuntu1","1.17.1-0ubuntu1","1.17.1-0ubuntu2","1.17.2-0ubuntu1","1.17.3-0ubuntu1","1.17.4-0ubuntu1","1.17.5-0ubuntu2","1.17.6-0ubuntu1","1.18.0-0ubuntu1","1.18.0-0ubuntu2","1.18.1-0ubuntu1","1.18.2-0ubuntu1","1.18.2-0ubuntu2","1.18.3-0ubuntu1"]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"lightdm_project","product":"lightdm"}],"references":[{"url":"https://launchpad.net/bugs/1677924","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://lists.freedesktop.org/archives/lightdm/2017-April/001059.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/2478","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.exploit-db.com/exploits/41923/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"https://www.ubuntu.com/usn/usn-3255-1/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/97486","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7358"},{"url":"https://www.exploit-db.com/exploits/41923"},{"url":"https://www.ubuntu.com/usn/usn-3255-1"},{"url":"https://github.com/advisories/GHSA-487j-vfqw-h49x"},{"url":"https://ubuntu.com/security/CVE-2017-7358","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3255-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-7358","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-7358","description":"In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path locations and escalate privileges to root when the guest user logs out.","status":"published","published":"2017-04-05T06:23:00Z","modified":"2024-08-05T15:56:36.525Z","updated_at":"2026-11-02T14:33:20.488433Z"}],"euvd":[{"id":"EUVD-2017-16385","description":"In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path locations and escalate privileges to root when the guest user logs out.","status":"published","published":"2017-04-05T06:23:00Z","modified":"2024-08-05T15:56:36Z","updated_at":"2026-11-03T02:39:08.892902Z"}],"ghsa":[{"id":"GHSA-487j-vfqw-h49x","title":"In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local...","description":"In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path locations and escalate privileges to root when the guest user logs out.","status":"published","published":"2022-05-17T02:12:37Z","modified":"2025-04-20T03:36:29Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:01:44.058341Z"}],"nvd":[{"id":"CVE-2017-7358","description":"In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path locations and escalate privileges to root when the guest user logs out.","status":"published","published":"2017-04-05T06:59:00.23Z","modified":"2026-06-17T01:24:11.163Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:03:44.86906Z"}],"osv":[{"id":"CVE-2017-7358","description":"In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path locations and escalate privileges to root when the guest user logs out.","status":"published","published":"2017-04-05T06:59:00.23Z","modified":"2026-10-24T10:30:40.477755791Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:06.412595Z"},{"id":"UBUNTU-CVE-2017-7358","description":"In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path locations and escalate privileges to root when the guest user logs out.","status":"published","published":"2017-04-04T21:00:00Z","modified":"2026-04-22T11:30:59.740465Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:15.773974Z"},{"id":"USN-3255-1","title":"lightdm vulnerability","description":"It was discovered that LightDM incorrectly handled home directory creation for\nguest users. A local attacker could use this issue to gain ownership of\narbitrary directory paths and possibly gain administrative privileges.\n","status":"published","published":"2017-04-04T22:06:15Z","modified":"2026-04-22T09:35:08.710218Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
