{"id":"CVE-2018-20106","state":"PUBLISHED","title":"SMB printer settings don't escape characters in passwords properly","description":"In yast2-printer up to and including version 4.0.2 the SMB printer settings don't escape characters in passwords properly. If a password with backticks or simliar characters is supplied this allows for executing code as root. This requires tricking root to enter such a password in yast.","publishedAt":"2019-03-15T20:00:00.000Z","updatedAt":"2024-09-16T17:23:19.129Z","severity":{"score":6.5,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","source":"microfocus"},"assigner":"microfocus","products":["SUSE yast2-printer"],"affected":[{"vendor":"SUSE","product":"yast2-printer","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"4.0.2","versionType":"custom"}]}],"references":["https://bugzilla.suse.com/show_bug.cgi?id=1114853"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T19:44:39.424Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/20xxx/CVE-2018-20106.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-20106","state":"PUBLISHED","datePublished":"2019-03-15T20:00:00.000Z","dateUpdated":"2024-09-16T17:23:19.129Z","assignerShortName":"microfocus","assignerOrgId":"f81092c5-7f14-476d-80dc-24857f90be84","dateReserved":"2018-12-12T00:00:00.000Z"},"containers":{"cna":{"title":"SMB printer settings don't escape characters in passwords properly","descriptions":[{"lang":"en","value":"In yast2-printer up to and including version 4.0.2 the SMB printer settings don't escape characters in passwords properly. If a password with backticks or simliar characters is supplied this allows for executing code as root. This requires tricking root to enter such a password in yast."}],"affected":[{"vendor":"SUSE","product":"yast2-printer","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"4.0.2","versionType":"custom"}]}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1114853","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"microfocus","dateUpdated":"2021-01-06T16:15:50.000Z","orgId":"f81092c5-7f14-476d-80dc-24857f90be84"},"credits":[{"lang":"en","value":"Dainius Masiliunas"}],"datePublic":"2018-11-06T00:00:00.000Z","source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1114853","defect":["1114853"],"discovery":"USER"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@microfocus.com","DATE_PUBLIC":"2018-11-06T00:00:00.000Z","ID":"CVE-2018-20106","STATE":"PUBLIC","TITLE":"SMB printer settings don't escape characters in passwords properly"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"yast2-printer","version":{"version_data":[{"affected":"<=","version_affected":"<=","version_value":"4.0.2"}]}}]},"vendor_name":"SUSE"}]}},"credit":[{"lang":"eng","value":"Dainius Masiliunas"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In yast2-printer up to and including version 4.0.2 the SMB printer settings don't escape characters in passwords properly. If a password with backticks or simliar characters is supplied this allows for executing code as root. This requires tricking root to enter such a password in yast."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.suse.com/show_bug.cgi?id=1114853","refsource":"CONFIRM","url":"https://bugzilla.suse.com/show_bug.cgi?id=1114853"}]},"source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1114853","defect":["1114853"],"discovery":"USER"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1114853","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T11:51:19.099Z"}}]}}}