rpc.py through 0.6.0 allows Remote Code Execution because an unpickle occurs when the "serializer: pickle" HTTP header is sent. In other words, although JSON (not Pickle) is the default data format, an unauthenticated client can cause the data to be processed with unpickle
SAFE Security Signal Simple Va Signal is an example object payload from SAFE Security, with 8 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"version": "1.0",
"id": "09d34300-4c54-4e5e-9050-fff5d912cb19",
"name": "rpc.py through 0.6.0 allows Remote Code Execution",
"source": {
"name": "A-unique-signal-submitter-name",
"nextSubmissionIntervalInMins": 1440
},
"description": "rpc.py through 0.6.0 allows Remote Code Execution because an unpickle occurs when the \"serializer: pickle\" HTTP header is sent. In other words, although JSON (not Pickle) is the default data format, an unauthenticated client can cause the data to be processed with unpickle",
"createdAt": "2022-11-22T05:57:52.132Z",
"entity": {
"type": "machine",
"name": "MyVirtualMachine.acme.com"
},
"securityContext": {
"type": "va",
"status": {
"complianceStatus": "fail"
},
"severity": {
"type": "cvss",
"value": 9.8
},
"standardsMapping": [
{
"name": "cve",
"value": "CVE-2022-35411"
}
]
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.