NoSQL Injection? (PHP->phpcassa->Cassandra)

陌路散爱 提交于 2019-12-04 23:42:59

No. The Thrift layer used by phpcassa is an rpc framework, not based on string parsing.

An update - Cassandra v0.8 introduced CQL, which might have brought with it the possibility of injection attacks. However:

Prepared statements were then introduced in Cassandra v1.1.0, which help to prevent such attacks.

Furthermore, see this posting which explains features of CQL that make it resistant to injection, including:

  • each CQL query must contain exactly one statement
  • as a rule of thumb, there are also no statement types that contain other statements, which would be another common vector for an injection.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!