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

Findings for Medium #13

Open
armorcodegithubapp bot opened this issue Apr 28, 2023 · 19 comments
Open

Findings for Medium #13

armorcodegithubapp bot opened this issue Apr 28, 2023 · 19 comments

Comments

@armorcodegithubapp
Copy link

Findings for Medium
Apache Struts 2.0.0 through 2.3.4 allows remote attackers to cause a denial of service (CPU consumption) via a long parameter name, which is processed as an OGNL expression.

References:

References:

References:

References:

In Struts 2.3.15.3 the action mapping mechanism was changed to avoid circumventing security constraints. Two additional constants were introduced to steer behaviour of DefaultActionMapper:

  • struts.mapper.action.prefix.enabled - when set to false support for "action:" prefix is disabled, set to false by default
  • struts.mapper.action.prefix.crossNamespaces - when set to false, actions defined with "action:" prefix must be in the same namespace as current action

References:

References:

References:

References:

It is generally not advisable to have debug mode switched on outside of the development environment. Debug mode should always be turned off in production setup. Also never expose JSPs files directly and hide them inside WEB-INF folder or define dedicated security constraints to block access to raw JSP files.

Struts >= 2.3.20 is not vulnerable to this attack. We recommend upgrading to Struts 2.3.20 or higher.

References:

References:

References:

References:

References:

References:

References:

References:

In Struts 2 before 2.3.15.1 the information following "redirect:" or "redirectAction:" can easily be manipulated to redirect to an arbitrary location.

References:

References:

It is generally not advisable to have debug mode switched on outside of the development environment. Debug mode should always be turned off in production setup. Also never expose JSPs files directly and hide them inside WEB-INF folder or define dedicated security constraints to block access to raw JSP files.

Struts >= 2.3.20 is not vulnerable to this attack. We recommend upgrading to Struts 2.3.20 or higher if turning off debug mode is not possible.

References:

@armorcodegithubapp
Copy link
Author

Finding [141965063|https://app.armorcode.com/#/findings/185/656/141965063] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965064|https://app.armorcode.com/#/findings/185/656/141965064] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965011|https://app.armorcode.com/#/findings/185/656/141965011] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965048|https://app.armorcode.com/#/findings/185/656/141965048] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965079|https://app.armorcode.com/#/findings/185/656/141965079] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965028|https://app.armorcode.com/#/findings/185/656/141965028] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965067|https://app.armorcode.com/#/findings/185/656/141965067] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965055|https://app.armorcode.com/#/findings/185/656/141965055] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965081|https://app.armorcode.com/#/findings/185/656/141965081] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965065|https://app.armorcode.com/#/findings/185/656/141965065] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965029|https://app.armorcode.com/#/findings/185/656/141965029] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965052|https://app.armorcode.com/#/findings/185/656/141965052] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965077|https://app.armorcode.com/#/findings/185/656/141965077] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965054|https://app.armorcode.com/#/findings/185/656/141965054] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965066|https://app.armorcode.com/#/findings/185/656/141965066] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965062|https://app.armorcode.com/#/findings/185/656/141965062] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965071|https://app.armorcode.com/#/findings/185/656/141965071] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965005|https://app.armorcode.com/#/findings/185/656/141965005] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

@armorcodegithubapp
Copy link
Author

Finding [141965084|https://app.armorcode.com/#/findings/185/656/141965084] status changed from Open to Confirmed
Note:
by SYSTEM via ArmorCode Platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants