[Tickets #3795] Password protected ZIP attachments
bugs@bugs.horde.org
bugs at bugs.horde.org
Wed Apr 19 12:53:52 PDT 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3795
-----------------------------------------------------------------------
Ticket | 3795
Updated By | ctofur at gmail.com
Summary | Password protected ZIP attachments
Queue | IMP
Version | 4.1.1
State | Feedback
Priority | 2. Medium
Type | Bug
Owners |
-----------------------------------------------------------------------
ctofur at gmail.com (2006-04-19 12:53) wrote:
> Can you provide an example message (full .eml with headers) for
> testing? If so please attach it to this ticket.
The files in question are sent to us via a sensitve source so unfortunatly I
can not send them to you. I did create an example password protected file
and compaired it to the file in question which discovered an oddity of the
archive.
The file has a bad offset, which does not produce an error in viewing or
decompression, but does produce an error when viewing the properties of the
file.
This is an error in relation to the ZIP file being `partially` broken and
not an error in HORDE-IMP.
--------------Properties of file in question--------------
Archive: C:\Documents and Settings\delete\Desktop\F0071553-S01.zip 315663
bytes 2006-04-19 13:33:00
End central directory record PK0506 (4+18)
==========================================
current location of end-of-central-dir record: 315641 (0x0004d0f9)
bytes
expected location of end-of-central-dir record: 315565 (0x0004d0ad)
bytes
based on the size of the central directory of
105 and its relative offset of 315460 bytes
part number of this part (0000): 1
part number of start of central dir (0000): 1
number of entries in central dir in this part: 1
total number of entries in central dir: 1
size of central dir: 105 (0x00000069) bytes
relative offset of central dir: 315460 (0x0004d044)
bytes
zipfile comment length: 0
Current Location part 1 offset 315460
Central directory entry PK0102 (4+42): #1
======================================
part number in which file begins (65535): 65536
relative offset of local header: 4294967295 (0xffffffff)
bytes
version made by operating system (00): MS-DOS, OS/2, NT FAT
version made by zip software (45): 4.5
operat. system version needed to extract (00): MS-DOS, OS/2, NT FAT
unzip software version needed to extract (45): 4.5
general purpose bit flag (0x0009) (bit 15..0): 0000.0000 0000.1001
file security status (bit 0): encrypted
extended local header (bit 3): yes
compression method (99): AES encryption
file last modified on (0x00003492 0x00005d14): 2006-04-18 11:40:40
32-bit CRC value: 0x00000000
compressed size: 4294967295 bytes
uncompressed size: 4294967295 bytes
length of filename: 16 characters
length of extra field: 43 bytes
length of file comment: 0 characters
internal file attributes: 0x0000
apparent file type: binary
external file attributes: 0x00000020
non-MSDOS external file attributes: 0x000000
MS-DOS file attributes (0x20): arc
Current Location part 1 offset 315506
filename:F0071553-S01.txt
Current Location part 1 offset 315522
extra field 0x0001 (ZIP64 Tag), 4 header and 28 data bytes:
70 28 12 00 00 00 00 00 d7 cf 04 00 00 00 00 00 p(..............
00 00 00 00 00 00 00 00 00 00 00 00 ............
ZIP64 Tag Value(s):
Value #1: 1190000
Value #2: 315351
Value #3: 0
Part No: 1
extra field 0x9901 (AES Encryption Tag), 4 header and 7 data bytes:
02 00 41 45 03 08 00 ..AE...
Encryption Tag Version: AE-2
Encryption Key Bits: 256
Compression Method (08): deflated
Compression Sub-Type (deflation): normal
note: didn't find end-of-central-dir signature at end of central dir.
Possible cause: file transfer error
Current Location part 1 offset 0
Local directory entry PK0304 (4+26): #1
------------------------------------
operat. system version needed to extract (00): MS-DOS, OS/2, NT FAT
unzip software version needed to extract (45): 4.5
general purpose bit flag (0x0009) (bit 15..0): 0000.0000 0000.1001
file security status (bit 0): encrypted
extended local header (bit 3): yes
compression method (99): AES encryption
file last modified on (0x00003492 0x00005d14): 2006-04-18 11:40:40
32-bit CRC value: 0x00000000
compressed size: 4294967295 bytes
uncompressed size: 4294967295 bytes
note: "real" crc and sizes are in the extended local header
length of filename: 16 characters
length of extra field: 43 bytes
caution: value of lrec.csize (compressed size) changed from -1 to 315351
caution: value of lrec.ucsize (uncompressed size) changed from -1 to
1190000
Current Location part 1 offset 30
filename:F0071553-S01.txt
Current Location part 1 offset 46
extra field 0x0001 (ZIP64 Tag), 4 header and 28 data bytes:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 ............
ZIP64 Tag Value(s):
Value #1: 0
Value #2: 0
Value #3: 0
Part No: 1
extra field 0x9901 (AES Encryption Tag), 4 header and 7 data bytes:
02 00 41 45 03 08 00 ..AE...
Encryption Tag Version: AE-2
Encryption Key Bits: 256
Compression Method (08): deflated
Compression Sub-Type (deflation): normal
Current Location part 1 offset 89
testing: F0071553-S01.txt OK
Error in file #1: bad Zip file offset (Error extended local header
signature not found): disk #1 offset: 0
More information about the bugs
mailing list