Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0170-nginx_decoders.xml: Make server: content optional #243

Merged
merged 1 commit into from Jun 14, 2019
Merged

0170-nginx_decoders.xml: Make server: content optional #243

merged 1 commit into from Jun 14, 2019

Conversation

iasdeoupxe
Copy link
Contributor

"Live" logs of a current nginx where the server: string was empty and the decode wasn't able to extract
the source IP:

2018/12/10 11:51:44 [error] 7547#7547: *578685 open() "/usr/share/nginx/html/%{(#dm=@ognl.OgnlContext@DEFAULT_MEMBER_ACCESS).(#_memberAccess?(#_memberAccess=#dm):((#container=#context['com.opensymphony.xwork2.ActionContext.container']).(#ognlUtil=#container.getInstance(@com.opensymphony.xwork2.ognl.OgnlUtil@class)).(#ognlUtil.getExcludedPackageNames().clear()).(#ognlUtil.getExcludedClasses().clear()).(#context.setMemberAccess(#dm)))).(#res=@org.apache.struts2.ServletActionContext@getResponse()).(#res.addHeader('eresult','struts2_security_check'))}/user.action" failed (36: File name too long), client: redacted, server: , request: "POST /%25%7b(%23dm%3d%40ognl.OgnlContext%40DEFAULT_MEMBER_ACCESS).(%23_memberAccess%3f(%23_memberAccess%3d%23dm)%3a((%23container%3d%23context%5b%27com.opensymphony.xwork2.ActionContext.container%27%5d).(%23ognlUtil%3d%23container.getInstance(%40com.opensymphony.xwork2.ognl.OgnlUtil%40class)).(%23ognlUtil.getExcludedPackageNames().clear()).(%23ognlUtil.getExcludedClasses().clear()).(%23context.setMemberAccess(%23dm)))).(%23res%3d%40org.apache.struts2.ServletActionContext%40getResponse()).(%23res.addHeader(%27eresult%27%2c%27struts2_security_check%27))%7d/user.action HTTP/1.1", host: "redacted:80"

@cristgl cristgl self-assigned this Jun 5, 2019
@cristgl cristgl added this to In progress in Wazuh 3.10.0 via automation Jun 5, 2019
Wazuh 3.10.0 automation moved this from In progress to Reviewer approved Jun 5, 2019
@Lopuiz Lopuiz changed the base branch from master to 3.9 June 12, 2019 08:49
@bah07 bah07 removed this from Reviewer approved in Wazuh 3.10.0 Jun 14, 2019
@bah07 bah07 added this to Under review in Wazuh 3.9.3 via automation Jun 14, 2019
@bah07 bah07 merged commit 02a8582 into wazuh:3.9 Jun 14, 2019
Wazuh 3.9.3 automation moved this from Under review to Done Jun 14, 2019
@iasdeoupxe iasdeoupxe deleted the patch-1 branch June 15, 2019 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Wazuh 3.9.3
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants