{"id":"CVE-2022-22181","state":"PUBLISHED","title":"Junos OS: J-Web can be compromised through reflected XSS attacks","description":"A reflected Cross-site Scripting (XSS) vulnerability in J-Web of Juniper Networks Junos OS allows a network-based authenticated attacker to run malicious scripts reflected off J-Web to the victim's browser in the context of their session within J-Web. This may allow the attacker to gain control of the device or attack other authenticated user sessions. This issue affects: Juniper Networks Junos OS All versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S3; 19.4 versions prior to 19.4R3-S5; 20.1 versions prior to 20.1R3-S4; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R1-S1, 21.1R2.","publishedAt":"2022-04-14T15:50:37.275Z","updatedAt":"2024-09-17T02:36:11.063Z","severity":{"score":8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"juniper"},"assigner":"juniper","products":["Juniper Networks Junos OS"],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","versions":[{"version":"unspecified","status":"affected","lessThan":"18.3R3-S5","versionType":"custom"},{"version":"18.4","status":"affected","lessThan":"18.4R3-S9","versionType":"custom"},{"version":"19.1","status":"affected","lessThan":"19.1R3-S6","versionType":"custom"},{"version":"19.2","status":"affected","lessThan":"19.2R3-S3","versionType":"custom"},{"version":"19.3","status":"affected","lessThan":"19.3R2-S6, 19.3R3-S3","versionType":"custom"},{"version":"19.4","status":"affected","lessThan":"19.4R3-S5","versionType":"custom"},{"version":"20.1","status":"affected","lessThan":"20.1R3-S4","versionType":"custom"},{"version":"20.2","status":"affected","lessThan":"20.2R3-S2","versionType":"custom"},{"version":"20.3","status":"affected","lessThan":"20.3R3","versionType":"custom"},{"version":"20.4","status":"affected","lessThan":"20.4R3","versionType":"custom"},{"version":"21.1","status":"affected","lessThan":"21.1R1-S1, 21.1R2","versionType":"custom"}]}],"references":["https://kb.juniper.net/JSA69517"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:49:38.433Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/22xxx/CVE-2022-22181.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-22181","state":"PUBLISHED","datePublished":"2022-04-14T15:50:37.275Z","dateUpdated":"2024-09-17T02:36:11.063Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2021-12-21T00:00:00.000Z"},"containers":{"cna":{"title":"Junos OS: J-Web can be compromised through reflected XSS attacks","descriptions":[{"lang":"en","value":"A reflected Cross-site Scripting (XSS) vulnerability in J-Web of Juniper Networks Junos OS allows a network-based authenticated attacker to run malicious scripts reflected off J-Web to the victim's browser in the context of their session within J-Web. This may allow the attacker to gain control of the device or attack other authenticated user sessions. This issue affects: Juniper Networks Junos OS All versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S3; 19.4 versions prior to 19.4R3-S5; 20.1 versions prior to 20.1R3-S4; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R1-S1, 21.1R2."}],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","versions":[{"version":"unspecified","status":"affected","lessThan":"18.3R3-S5","versionType":"custom"},{"version":"18.4","status":"affected","lessThan":"18.4R3-S9","versionType":"custom"},{"version":"19.1","status":"affected","lessThan":"19.1R3-S6","versionType":"custom"},{"version":"19.2","status":"affected","lessThan":"19.2R3-S3","versionType":"custom"},{"version":"19.3","status":"affected","lessThan":"19.3R2-S6, 19.3R3-S3","versionType":"custom"},{"version":"19.4","status":"affected","lessThan":"19.4R3-S5","versionType":"custom"},{"version":"20.1","status":"affected","lessThan":"20.1R3-S4","versionType":"custom"},{"version":"20.2","status":"affected","lessThan":"20.2R3-S2","versionType":"custom"},{"version":"20.3","status":"affected","lessThan":"20.3R3","versionType":"custom"},{"version":"20.4","status":"affected","lessThan":"20.4R3","versionType":"custom"},{"version":"21.1","status":"affected","lessThan":"21.1R1-S1, 21.1R2","versionType":"custom"}]}],"references":[{"url":"https://kb.juniper.net/JSA69517","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"juniper","dateUpdated":"2022-04-14T15:50:37.000Z","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968"},"configurations":[{"lang":"en","value":"The examples of the config stanza affected by this issue:\n\n  [system services web-management]\n  [system services web-management https]"}],"datePublic":"2022-04-13T00:00:00.000Z","exploits":[{"lang":"en","value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"solutions":[{"lang":"en","value":"The following software releases have been updated to resolve this specific issue: 18.3R3-S5, 18.4R3-S9, 19.1R3-S6, 19.2R3-S3, 19.3R2-S6, 19.3R3-S3, 19.4R3-S5, 20.1R3-S4, 20.2R3-S2, 20.3R3, 20.4R3, 21.1R1-S1, 21.1R2, 21.2R1, and all subsequent releases."}],"source":{"advisory":"JSA69517","defect":["1591621"],"discovery":"INTERNAL"},"workarounds":[{"lang":"en","value":"To reduce the risk of exploitation of this issue, use access lists or firewall filters to limit access to only trusted administrative networks, hosts and users.\n\nAlternatively, J-Web can be disabled."}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"sirt@juniper.net","DATE_PUBLIC":"2022-04-13T16:00:00.000Z","ID":"CVE-2022-22181","STATE":"PUBLIC","TITLE":"Junos OS: J-Web can be compromised through reflected XSS attacks"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Junos OS","version":{"version_data":[{"version_affected":"<","version_value":"18.3R3-S5"},{"version_affected":"<","version_name":"18.4","version_value":"18.4R3-S9"},{"version_affected":"<","version_name":"19.1","version_value":"19.1R3-S6"},{"version_affected":"<","version_name":"19.2","version_value":"19.2R3-S3"},{"version_affected":"<","version_name":"19.3","version_value":"19.3R2-S6, 19.3R3-S3"},{"version_affected":"<","version_name":"19.4","version_value":"19.4R3-S5"},{"version_affected":"<","version_name":"20.1","version_value":"20.1R3-S4"},{"version_affected":"<","version_name":"20.2","version_value":"20.2R3-S2"},{"version_affected":"<","version_name":"20.3","version_value":"20.3R3"},{"version_affected":"<","version_name":"20.4","version_value":"20.4R3"},{"version_affected":"<","version_name":"21.1","version_value":"21.1R1-S1, 21.1R2"}]}}]},"vendor_name":"Juniper Networks"}]}},"configuration":[{"lang":"en","value":"The examples of the config stanza affected by this issue:\n\n  [system services web-management]\n  [system services web-management https]"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A reflected Cross-site Scripting (XSS) vulnerability in J-Web of Juniper Networks Junos OS allows a network-based authenticated attacker to run malicious scripts reflected off J-Web to the victim's browser in the context of their session within J-Web. This may allow the attacker to gain control of the device or attack other authenticated user sessions. This issue affects: Juniper Networks Junos OS All versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S3; 19.4 versions prior to 19.4R3-S5; 20.1 versions prior to 20.1R3-S4; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R1-S1, 21.1R2."}]},"exploit":[{"lang":"en","value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://kb.juniper.net/JSA69517","refsource":"CONFIRM","url":"https://kb.juniper.net/JSA69517"}]},"solution":[{"lang":"en","value":"The following software releases have been updated to resolve this specific issue: 18.3R3-S5, 18.4R3-S9, 19.1R3-S6, 19.2R3-S3, 19.3R2-S6, 19.3R3-S3, 19.4R3-S5, 20.1R3-S4, 20.2R3-S2, 20.3R3, 20.4R3, 21.1R1-S1, 21.1R2, 21.2R1, and all subsequent releases."}],"source":{"advisory":"JSA69517","defect":["1591621"],"discovery":"INTERNAL"},"work_around":[{"lang":"en","value":"To reduce the risk of exploitation of this issue, use access lists or firewall filters to limit access to only trusted administrative networks, hosts and users.\n\nAlternatively, J-Web can be disabled."}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://kb.juniper.net/JSA69517","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T03:07:50.143Z"}}]}}}