{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-4977","id":"CVE-2016-4977","title":"Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views","description":"When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.","descriptionLong":"When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.","published":"2017-05-25T17:00:00.000Z","updated":"2026-10-24T10:30:56.122227711Z","reserved":"2016-05-24T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"dell","metric":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Pivotal Spring Security OAuth"],"affectedProducts":[{"vendor":"Pivotal","product":"Spring Security OAuth","defaultStatus":null,"versions":[{"status":"affected","version":"2.0.0 to 2.0.9"},{"status":"affected","version":"1.0.0 to 1.0.5"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework.security.oauth:spring-security-oauth2","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","ranges":[">=2.0.0 <2.0.10",">=1.0.0 <1.0.5"],"fixed":["2.0.10","1.0.5"],"advisory":"GHSA-7q9c-h23x-65fq"}],"cwes":["CWE-19"],"aliases":["GHSA-7q9c-h23x-65fq"],"references":[{"url":"https://pivotal.io/security/cve-2016-4977","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0%40%3Cdev.fineract.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488%40%3Cdev.fineract.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2019/10/16/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274%40%3Cdev.fineract.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4977","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7q9c-h23x-65fq","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488@%3Cdev.fineract.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0@%3Cdev.fineract.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2@%3Cannounce.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274@%3Cdev.fineract.apache.org%3E","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.80016,"epssPercentile":0.99622,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-4977","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4977","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-4977","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7q9c-h23x-65fq","ok":true,"note":"GHSA-7q9c-h23x-65fq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-4977","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["spring"],"critical":["EPSS 80% with CVSS 8.8"],"attention":null}