struts1filter

A request parameter filter solution for Struts 1 CVE-2014-0114 based on the work of Alvaro Munoz and the HP Fortify team

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.rgielen
Идентификатор

Идентификатор

struts1filter
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

struts1filter
A request parameter filter solution for Struts 1 CVE-2014-0114 based on the work of Alvaro Munoz and the HP Fortify team
Система контроля версий

Система контроля версий

https://github.com/rgielen/struts1filter

Скачать struts1filter

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/net.rgielen/struts1filter/ -->
<dependency>
    <groupId>net.rgielen</groupId>
    <artifactId>struts1filter</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.rgielen/struts1filter/
implementation 'net.rgielen:struts1filter:1.0.0'
// https://jarcasting.com/artifacts/net.rgielen/struts1filter/
implementation ("net.rgielen:struts1filter:1.0.0")
'net.rgielen:struts1filter:jar:1.0.0'
<dependency org="net.rgielen" name="struts1filter" rev="1.0.0">
  <artifact name="struts1filter" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.rgielen', module='struts1filter', version='1.0.0')
)
libraryDependencies += "net.rgielen" % "struts1filter" % "1.0.0"
[net.rgielen/struts1filter "1.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
commons-logging : commons-logging jar 1.0.4

provided (1)

Идентификатор библиотеки Тип Версия
javax.servlet : servlet-api jar 2.3

Модули Проекта

Данный проект не имеет модулей.

struts1filter

A request parameter filter solution for Apache Struts 1 CVE-2014-0114 based on the work of Alvaro Munoz and the HP Fortify team.

To use this filter, add the following filter declaration along with appropriate mapping to the web.xml descriptor of the Apache Struts 1 application to protect:

<filter>
    <filter-name>ParamWrapperFilter</filter-name>
    <filter-class>net.rgielen.struts1.filter.ParamWrapperFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>ParamWrapperFilter</filter-name>
    <servlet-name>YOUR ACTION SERVLET</servlet-name>
</filter-mapping>

The filter comes with a default regular expression to match harmful parameter names, which might be overridden by explicit configuration:

<filter>
    <filter-name>ParamWrapperFilter</filter-name>
    <filter-class>net.rgielen.struts1.filter.ParamWrapperFilter</filter-class>
    <init-param>
        <param-name>excludeParams</param-name>
        <param-value>(.*\.|^|.*|\[('|"))(c|C)lass(\.|('|")]|\[).*</param-value>
    </init-param>
</filter>
...

The filter is released Maven Central. Use the following Maven dependency declaration to incorporate it in your project (Ivy, Gradle and SBT accordingly):

<dependency>
    <groupId>net.rgielen</groupId>
    <artifactId>struts1filter</artifactId>
    <version>1.0.0</version>
</dependency>

It can also be downloaded directly. Use the Central Repository Search with the coordinates provided above to find and download the jar.

Версии библиотеки

Версия
1.0.0