Skip to content

SecUploadDir /tmp modsecurity ignores and tries to write to / #1720

Closed
@gjvanetten

Description

@gjvanetten

RHEL 7

v3/Master

SecTmpDir /tmp
SecDataDir /tmp
SecUploadDir /tmp
SecUploadKeepFiles On
SecUploadFileMode 0600

debug set to 9 shows

[4] Starting phase REQUEST_BODY. (SecRules 2)
[9] Multipart: Boundary: ---------------------------491299511942
[9] Multipart: Added part header "Content-Disposition" "form-data; name="fileName"; filename="bear.tif"".
[9] Multipart: Added part header "Content-Type" "image/tiff".
[9] Multipart: Content-Disposition name: fileName.
[9] Multipart: Content-Disposition filename: bear.tif.
[1] Multipart: Failed to create file: /20180322-153622-152173297762.732387-file-XXXXXX
[1] Multipart: Final boundary missing.
[4] Multipart: Cleanup started (remove files True)

Thanks
Jim

Metadata

Metadata

Assignees

Labels

3.xRelated to ModSecurity version 3.x

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions