SQL Injection in Openresty
CVE-2018-9230
In OpenResty through 1.13.6.1, URI parameters are obtained using the ngx.req.get_uri_args and ngx.req.get_post_args functions that ignore parameters beyond the hundredth one, which might allow remote attackers to bypass intended access restrictions or interfere with certain Web Application Firewall (ngx_lua_waf or X-WAF) products. NOTE: the vendor has reported that 100 parameters is an intentional default setting, but is adjustable within the API. The vendor's position is that a security-relevant misuse of the API by a WAF product is a vulnerability in the WAF product, not a vulnerability in OpenResty
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.132 (96.3th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.135 · newest: 0.132 · change: -0.002
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/Bypass007/vuln/blob/master/OpenResty/Uri parameter overflow in Openr… (Exploit, Third Party Advisory)
- openresty.org/en/changelog-1013006.html (Vendor Advisory)
Frequently asked questions
- What is CVE-2018-9230?
- CVE-2018-9230 is a critical-severity vulnerability in Openresty, classified under SQL Injection. CVSS score: 9.8/10. Published 2018-04-02.
- How severe is CVE-2018-9230?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2018-9230 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.