官术网_书友最值得收藏!

SQLi and Other Code Injection Attacks – Accepting Unvalidated Data

SQLi is a rather old vulnerability. It's been two decades since the first public disclosures of the attack started appearing in 1998, detailed in publications such as Phrack, but it persists, often in critically damaging ways. SQLi vulnerabilities can allow an attacker to read sensitive data, update database information, and sometimes even issue OS commands. As OWASP succinctly states, the "flaw depends on the fact that SQL makes no real distinction between the control and data planes." This means that SQL commands can modify both the data they contain and parts of the underlying system running the software, so when the access prerequisites for a feature such as sqlmap's --os-shell flag are present, a SQLi flaw can be used to issue system commands.

Many tools and design patterns exist for preventing SQLi. But the pressure of getting new applications to market and iterating quickly on features means that SQLi-vulnerable inputs don't get audited, and the procedures to prevent the bug are never put into place.

As a vulnerability endemic to one of the most common languages for database development and as an easily detected, easily exploited, and richly rewarded bug, SQLi is a worthy subject for study.

主站蜘蛛池模板: 通榆县| 台北县| 五寨县| 阿图什市| 综艺| 康马县| 施秉县| 来凤县| 封丘县| 涡阳县| 沂水县| 寻乌县| 大城县| 卓尼县| 蓬安县| 右玉县| 莲花县| 扶绥县| 化德县| 安吉县| 曲靖市| 尖扎县| 长岛县| 鹤庆县| 淮安市| 宁陵县| 香格里拉县| 上杭县| 临沧市| 沐川县| 泸西县| 永德县| 黎川县| 东宁县| 鄂托克前旗| 崇仁县| 繁峙县| 甘德县| 东阿县| 河北省| 绥阳县|