【发布时间】:2021-02-20 11:32:42
【问题描述】:
我有一个在 AWS 上运行的 Spring Boot 应用程序。有时我会看到一个日志弹出并提到 ThinkPHP?
java.lang.IllegalArgumentException: Invalid character found in the request target [/index.php?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=md5&vars[1][]=HelloThinkPHP21].
The valid characters are defined in RFC 7230 and RFC 3986.
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:491) ~[tomcat-embed-core-9.0.36.jar!/:9.0.36]
以下:
org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because the URL contained a potentially malicious String ";"
at org.springframework.security.web.firewall.StrictHttpFirewall.rejectedBlacklistedUrls(StrictHttpFirewall.java:369) ~[spring-security-web-5.3.3.RELEASE.jar!/:5.3.3.RELEASE]
这是引起关注的原因还是发生了什么? 通常根本没有流量发生 - 没有请求传入服务器,但会弹出。
【问题讨论】:
标签: java spring amazon-web-services security spring-security