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

Strong Content-Type validation #901

Open
krizhanovsky opened this issue Feb 4, 2018 · 0 comments
Open

Strong Content-Type validation #901

krizhanovsky opened this issue Feb 4, 2018 · 0 comments

Comments

@krizhanovsky
Copy link
Contributor

krizhanovsky commented Feb 4, 2018

Content-Type is important HTTP header with large security implication, so __parse_content_type() must be enhanced to check the RFC values for the header. Frang http_ct_vals limit must be moved to HTTP parser. BG algorithm must be used for multi-pattern matching. The multi-pattern matching must be done in generic way, so it depends on #732. Also consider its implementation in Linux kernel to be applicable for nftables (mainstream patch is appriciated).

We also should implemente Content-Type validation against resource type requested in URI, see CloudFlare's feature in AppSecCali 2019 - Cache Me If You Can: Messing with Web Caching

Also please update Web security and Frang Wikis and create a new functional test issue for the next milestone.

@krizhanovsky krizhanovsky added this to the 0.8 TDB v0.2 milestone Feb 4, 2018
@krizhanovsky krizhanovsky modified the milestones: 0.8 TDB v0.2, 0.10 Kernel-User Space Transport Mar 22, 2018
@krizhanovsky krizhanovsky modified the milestones: 1.4 TBD (Kernel-User Space Transport), 1.2 TBD Jan 3, 2022
@krizhanovsky krizhanovsky modified the milestones: 1.xx TBD, 1.x: TBD Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant