Moodle

Gif image with ICC code

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.3
  • Fix Version/s: 1.9.5
  • Component/s: Themes
  • Labels:
    None
  • Database:
    MySQL
  • Difficulty:
    Moderate
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

I have Snort running and it has thown alerts on web traffic from my moodle server.
Here is a copy of the alert:
[**] [1:2002122:5] ET EXPLOIT Potential MS05-036 exploit - GIF with embedded ICC - Excessive Profile Size [**]
[Classification: Misc Attack] [Priority: 2]
01/26-13:34:56.685711 xxx.xxx.xxx.xxx:62327 -> xxx.xxx.xxx.xxx:59978
TCP TTL:64 TOS:0x8 ID:11866 IpLen:20 DgmLen:1500
**A*** Seq: 0xD435DA03 Ack: 0xC043B17F Win: 0xFFFF TcpLen: 20
[Xref => http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1219][Xref => http://www.microsoft.com/technet/security/Bulletin/MS05-036.mspx]

Upon further investigation two gif files in the moodle directory come up with the code ICCRGBG1012
that this snort rule is alerting on. I am not sure if a false alert, or if the Gif files have something wrong with them.

grep -R ICCRGBG1012 *
Binary file pix/f/dmg.gif matches
Binary file theme/chameleon/pix/f/dmg.gif matches

Activity

Hide
Tim Hunt added a comment -

It is not a security issue, but it is inefficient to have all that colour profile information in tiny images. I re-saved those files in GIMP and they went from 3.7k to 200 bytes.

Show
Tim Hunt added a comment - It is not a security issue, but it is inefficient to have all that colour profile information in tiny images. I re-saved those files in GIMP and they went from 3.7k to 200 bytes.
Hide
Petr Škoda (skodak) added a comment -

thanks tim

Show
Petr Škoda (skodak) added a comment - thanks tim
Hide
Sam Hemelryk added a comment -

Thanks all, smaller is better

Show
Sam Hemelryk added a comment - Thanks all, smaller is better

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: