{"api_version":"1","generated_at":"2026-07-23T07:13:15+00:00","cve":"CVE-2004-1162","urls":{"html":"https://cve.report/CVE-2004-1162","api":"https://cve.report/api/cve/CVE-2004-1162.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-1162","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-1162"},"summary":{"title":"CVE-2004-1162","description":"The unison command in scponly before 4.0 does not properly restrict programs that can be run, which could allow remote authenticated users to bypass intended access restrictions and execute arbitrary programs via the (1) -rshcmd or (2) -sshcmd flags.","state":"PUBLISHED","assigner":"mitre","published_at":"2005-01-10 05:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://marc.info/?l=bugtraq&m=110581113814623&w=2","name":"http://marc.info/?l=bugtraq&m=110581113814623&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'Re: rssh and scponly arbitrary command execution' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18362","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18362","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200412-01.xml","name":"http://www.gentoo.org/security/en/glsa/glsa-200412-01.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Linux Documentation\n--\n  rssh, scponly: Unrestricted command execution","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=110202047507273&w=2","name":"http://marc.info/?l=bugtraq&m=110202047507273&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'rssh and scponly arbitrary command execution' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.sublimation.org/scponly/#relnotes","name":"http://www.sublimation.org/scponly/#relnotes","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"scponly homepage","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/11791","name":"http://www.securityfocus.com/bid/11791","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Vendor Advisory"],"title":"SCPOnly Remote Arbitrary Command Execution Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1162","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1162","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"gentoo","cpe5":"linux","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scponly","cpe5":"scponly","cpe6":"2.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scponly","cpe5":"scponly","cpe6":"2.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scponly","cpe5":"scponly","cpe6":"2.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scponly","cpe5":"scponly","cpe6":"2.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scponly","cpe5":"scponly","cpe6":"3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scponly","cpe5":"scponly","cpe6":"3.11","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scponly","cpe5":"scponly","cpe6":"3.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scponly","cpe5":"scponly","cpe6":"3.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"1162","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"scponly","cpe5":"scponly","cpe6":"3.9","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T00:39:00.859Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"GLSA-200412-01","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200412-01.xml"},{"name":"20050115 Re: rssh and scponly arbitrary command execution","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=110581113814623&w=2"},{"name":"20041202 rssh and scponly arbitrary command execution","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=110202047507273&w=2"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.sublimation.org/scponly/#relnotes"},{"name":"scponly-commandline-command-execution(18362)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18362"},{"name":"11791","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/11791"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2004-12-02T00:00:00.000Z","descriptions":[{"lang":"en","value":"The unison command in scponly before 4.0 does not properly restrict programs that can be run, which could allow remote authenticated users to bypass intended access restrictions and execute arbitrary programs via the (1) -rshcmd or (2) -sshcmd flags."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-10T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"GLSA-200412-01","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200412-01.xml"},{"name":"20050115 Re: rssh and scponly arbitrary command execution","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=110581113814623&w=2"},{"name":"20041202 rssh and scponly arbitrary command execution","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=110202047507273&w=2"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.sublimation.org/scponly/#relnotes"},{"name":"scponly-commandline-command-execution(18362)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18362"},{"name":"11791","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/11791"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-1162","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The unison command in scponly before 4.0 does not properly restrict programs that can be run, which could allow remote authenticated users to bypass intended access restrictions and execute arbitrary programs via the (1) -rshcmd or (2) -sshcmd flags."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"GLSA-200412-01","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200412-01.xml"},{"name":"20050115 Re: rssh and scponly arbitrary command execution","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=110581113814623&w=2"},{"name":"20041202 rssh and scponly arbitrary command execution","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=110202047507273&w=2"},{"name":"http://www.sublimation.org/scponly/#relnotes","refsource":"CONFIRM","url":"http://www.sublimation.org/scponly/#relnotes"},{"name":"scponly-commandline-command-execution(18362)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18362"},{"name":"11791","refsource":"BID","url":"http://www.securityfocus.com/bid/11791"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2004-1162","datePublished":"2004-12-10T05:00:00.000Z","dateReserved":"2004-12-09T00:00:00.000Z","dateUpdated":"2024-08-08T00:39:00.859Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2005-01-10 05:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:scponly:scponly:2.0:*:*:*:*:*:*:*","matchCriteriaId":"A74980DC-9A5B-4959-8193-1D7BE85CAEA8"},{"vulnerable":true,"criteria":"cpe:2.3:a:scponly:scponly:2.1:*:*:*:*:*:*:*","matchCriteriaId":"0863C35F-6061-426B-B656-E7B4A02D3E95"},{"vulnerable":true,"criteria":"cpe:2.3:a:scponly:scponly:2.3:*:*:*:*:*:*:*","matchCriteriaId":"C684457B-957E-41F0-A982-7D5266730570"},{"vulnerable":true,"criteria":"cpe:2.3:a:scponly:scponly:2.4:*:*:*:*:*:*:*","matchCriteriaId":"C59B9EE9-29EA-4513-8E35-4B41CE79E964"},{"vulnerable":true,"criteria":"cpe:2.3:a:scponly:scponly:3.0:*:*:*:*:*:*:*","matchCriteriaId":"32B689CE-F02B-4315-9E74-BC360EAFB937"},{"vulnerable":true,"criteria":"cpe:2.3:a:scponly:scponly:3.5:*:*:*:*:*:*:*","matchCriteriaId":"0C3262EA-F693-439B-922D-3F0DA09D0753"},{"vulnerable":true,"criteria":"cpe:2.3:a:scponly:scponly:3.8:*:*:*:*:*:*:*","matchCriteriaId":"B37D1F24-B45D-4217-972E-61BED886275A"},{"vulnerable":true,"criteria":"cpe:2.3:a:scponly:scponly:3.9:*:*:*:*:*:*:*","matchCriteriaId":"71D3E1C8-ADCB-4A5F-8078-66942E36DF6D"},{"vulnerable":true,"criteria":"cpe:2.3:a:scponly:scponly:3.11:*:*:*:*:*:*:*","matchCriteriaId":"190FB980-F17F-43A9-8DA4-B2A99E29DF3E"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gentoo:linux:*:*:*:*:*:*:*:*","matchCriteriaId":"647BA336-5538-4972-9271-383A0EC9378E"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2004","CveId":"1162","Ordinal":"1","Title":"CVE-2004-1162","CVE":"CVE-2004-1162","Year":"2004"},"notes":[{"CveYear":"2004","CveId":"1162","Ordinal":"1","NoteData":"The unison command in scponly before 4.0 does not properly restrict programs that can be run, which could allow remote authenticated users to bypass intended access restrictions and execute arbitrary programs via the (1) -rshcmd or (2) -sshcmd flags.","Type":"Description","Title":"CVE-2004-1162"},{"CveYear":"2004","CveId":"1162","Ordinal":"2","NoteData":"2004-12-10","Type":"Other","Title":"Published"},{"CveYear":"2004","CveId":"1162","Ordinal":"3","NoteData":"2017-07-10","Type":"Other","Title":"Modified"}]}}}