injection

注入是利用处理无效数据导致的计算机错误。攻击者使用注入将代码引入(或“注入”)到易受攻击的计算机程序中并改变执行过程。成功注入代码的结果可能是灾难性的,例如允许计算机蠕虫传播。

当应用程序将不受信任的数据发送给解释器时,会发生代码注入漏洞(注入漏洞)。注入漏洞最常出现在SQL,LDAP,XPath或NoSQL查询中; OS命令; XML 解析器,SMTP头,程序参数等。在检查源代码时,注入漏洞往往比通过测试更容易发现。[扫描仪和模糊器有助于发现注射缺陷。

注入可能导致数据丢失或损坏,缺乏问责制或拒绝访问。注射有时可以导致完全接受主体。

某些类型的代码注入是解释中的错误,仅为用户输入提供特殊含义。类似的解释错误存在于计算机科学的世界之外,例如喜剧常规Who's on First?。在例程中,无法将正确的名称与常规单词区分开来。同样,在某些类型的代码注入中,无法区分用户输入和系统命令。

代码注入技术在系统黑客攻击或破解以获取信息,权限提升或未经授权访问系统方面很受欢迎。代码注入可以出于多种目的而恶意使用,包括:

通过SQL注入任意修改数据库中的值。这种影响可能包括网站污损和敏感数据的严重危害。
通过注入服务器脚本代码(例如PHP或ASP)在服务器上安装恶意软件或执行恶意代码。
通过利用Windows上的服务在UNIX或本地系统上利用setuid根二进制文件中的Shell Injection漏洞,将权限升级为root权限。
使用HTML /脚本注入(跨站点脚本)攻击Web用户。

转载于:https://www.cnblogs.com/chhhh/p/10508134.html

Editorial Reviews Product Description Dependency Injection is an in-depth guide to the current best practices for using the Dependency Injection pattern-the key concept in Spring and the rapidly-growing Google Guice. It explores Dependency Injection, sometimes called Inversion of Control, in fine detail with numerous practical examples. Developers will learn to apply important techniques, focusing on their strengths and limitations, with a particular emphasis on pitfalls, corner-cases, and best practices. This book is written for developers and architects who want to understand Dependency Injection and successfully leverage popular DI technologies such as Spring, Google Guice, PicoContainer, and many others. The book explores many small examples of anchor concepts and unfolds a larger example to show the big picture. Written primarily from a Java point-of-view, this book is appropriate for any developer with a working knowledge of object-oriented programming in Java, Ruby, or C#. About the Author Dhanji R. Prasanna is an Enterprise Java consultant for technologies such as EJB3, JBI, JSF, Guice, Spring, HiveMind, and PicoContainer. He is a co-author of the Bean Validation (JSR-303), JAX-RS (JSR-311), Servlet 3.0 (JSR-315), and JavaServerFaces 2.0 (JSR-314) specifications. He is also co-author of the Java EE 6.0 (JSR-316) platform specification, which is the next edition of J2EE. Product Details * Paperback: 352 pages * Publisher: Manning Publications; 1 edition (August 28, 2009) * Language: English * ISBN-10: 193398855X * ISBN-13: 978-1933988559 * Product Dimensions: 9.1 x 7.4 x 0.8 inches
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值