{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-42083","assignerOrgId":"b87402ff-ae37-4194-9dae-31abdbd6f217","state":"PUBLISHED","assignerShortName":"DIVD","dateReserved":"2021-10-07T17:12:57.678Z","datePublished":"2023-07-10T06:29:47.782Z","dateUpdated":"2025-09-22T06:40:07.586Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unknown","platforms":["Windows","Linux"],"product":"QuantaStor","vendor":"OSNEXUS","versions":[{"lessThan":"6.0.0.355","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Wietse Boonstra (DIVD)"},{"lang":"en","type":"analyst","value":"Frank Breedijk (DIVD)"},{"lang":"en","type":"analyst","value":"Victor Pasman (DIVD)"},{"lang":"en","type":"analyst","value":"Victor Gevers (DIVD)"},{"lang":"en","type":"analyst","value":"Max van der Horst (DIVD)"},{"lang":"en","type":"analyst","value":"Célistine Oosting (DIVD)"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"An authenticated attacker is able to create alerts that trigger a stored XSS attack.<br><br>POC<br><br><br><ol><li><p><span style=\"background-color: transparent;\">go to the alert manager</span></p></li><li><span style=\"background-color: transparent;\">open the ITSM tab</span></li><li><p><span style=\"background-color: transparent;\">add a webhook with the URL/service token value </span></p><tt><span style=\"background-color: transparent;\">'</span>\t<span style=\"background-color: transparent;\">-h</span>\t<span style=\"background-color: transparent;\">&amp;&amp;</span>\t<span style=\"background-color: transparent;\">id</span>\t<span style=\"background-color: transparent;\">|</span>\t<span style=\"background-color: transparent;\">tee</span>\t<span style=\"background-color: transparent;\">/tmp/ttttttddddssss</span>\t<span style=\"background-color: transparent;\">#'</span></tt><p> <span style=\"background-color: transparent;\">(whitespaces are tab characters)</span></p></li><li><p><span style=\"background-color: transparent;\">click add</span></p></li><li><p><span style=\"background-color: transparent;\">click apply</span></p></li><li><p><span style=\"background-color: transparent;\">create a test alert</span></p></li><li><p><span style=\"background-color: transparent;\">The test alert will run the command </span></p><tt><span style=\"background-color: transparent;\">“</span><span style=\"background-color: transparent;\">id</span>\t<span style=\"background-color: transparent;\">|</span>\t<span style=\"background-color: transparent;\">tee</span>\t<span style=\"background-color: transparent;\">/tmp/ttttttddddssss</span><span style=\"background-color: transparent;\">”</span></tt><p><span style=\"background-color: transparent;\"> as root.</span></p></li><li><p><span style=\"background-color: transparent;\"><span style=\"background-color: transparent;\">after the test alert inspect </span></span></p><tt>/tmp/ttttttddddssss</tt><p><span style=\"background-color: transparent;\"> <span style=\"background-color: transparent;\">it'll contain the ids of the root user.</span><br></span></p></li></ol><b></b><br>"}],"value":"An authenticated attacker is able to create alerts that trigger a stored XSS attack.\n\nPOC\n\n\n  *  go to the alert manager\n\n\n  *  open the ITSM tab\n  *  add a webhook with the URL/service token value \n\n'\t-h\t&&\tid\t|\ttee\t/tmp/ttttttddddssss\t#' (whitespaces are tab characters)\n\n\n  *  click add\n\n\n  *  click apply\n\n\n  *  create a test alert\n\n\n  *  The test alert will run the command \n\n“id\t|\ttee\t/tmp/ttttttddddssss” as root.\n\n\n  *  after the test alert inspect \n\n/tmp/ttttttddddssss it'll contain the ids of the root user."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"b87402ff-ae37-4194-9dae-31abdbd6f217","shortName":"DIVD","dateUpdated":"2025-09-22T06:40:07.586Z"},"references":[{"tags":["third-party-advisory","technical-description","exploit"],"url":"https://www.wbsec.nl/osnexus"},{"tags":["third-party-advisory"],"url":"https://csirt.divd.nl/DIVD-2021-00020/"},{"tags":["product"],"url":"https://www.osnexus.com/products/software-defined-storage"},{"tags":["third-party-advisory","exploit","technical-description"],"url":"https://csirt.divd.nl/CVE-2021-42083"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Upgrade to the latest version of OSNEXUS QuantaStor."}],"value":"Upgrade to the latest version of OSNEXUS QuantaStor."}],"source":{"discovery":"INTERNAL"},"title":"Authenticated Stored XSS in OSNEXUS QuantaStor 6.0.0.335","x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T03:22:25.878Z"},"title":"CVE Program Container","references":[{"tags":["third-party-advisory","x_transferred"],"url":"https://www.wbsec.nl/osnexus"},{"tags":["third-party-advisory","x_transferred"],"url":"https://www.divd.nl/DIVD-2021-00020"},{"tags":["product","x_transferred"],"url":"https://www.osnexus.com/products/software-defined-storage"},{"tags":["third-party-advisory","x_transferred"],"url":"https://csirt.divd.nl/CVE-2021-42083"}]}]}}