exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

html2hdml.txt

html2hdml.txt
Posted Dec 30, 2004
Authored by Wiktor Kopec, Matthew Dabrowski | Site tigger.uic.edu

A vulnerability has been reported in html2hdml version 1.0.3, allowing malicious people to compromise a vulnerable system.

tags | advisory
SHA-256 | d7655331fe4c226135f51e6291e77e50d25358b45b2a527e19aa53306bc8099c

html2hdml.txt

Change Mirror Download
From djb@cr.yp.to Wed Dec 15 14:23:01 2004
Date: 15 Dec 2004 08:29:44 -0000
From: D. J. Bernstein <djb@cr.yp.to>
To: securesoftware@list.cr.yp.to, html2hdml-devel@lists.sourceforge.jp
Subject: [remote] [control] html2hdml 1.0.3 remove_quote overflows
print_buf buffer

Wiktor Kopec and Matthew Dabrowski, two students in my Fall 2004 UNIX
Security Holes course, have discovered a remotely exploitable security
hole in html2hdml. I'm publishing this notice, but all the discovery
credits should be assigned to Kopec and Dabrowski.

You are at risk if you take an HTML document from the web (or email or
any other source that could be controlled by an attacker) and feed that
document through html2hdml. (I don't see any documentation stating that
html2hdml must not be applied to network data.) Whoever provides that
document then has complete control over your account: he can read and
modify your files, watch the programs you're running, etc.

Proof of concept: On an x86 computer running FreeBSD 4.10, as root, type

cd /usr/ports/www/html2hdml
make install

to download and compile the html2hdml program, version 1.0.3 (apparently
not the latest official version, but the latest FreeBSD ports version).
Then, as any user, save the file 61.html attached to this message, and
type

html2hdml < 61.html > 61.hdml

with the unauthorized result that a file named x is removed from the
current directory.

Here's the bug: In convert.c, remove_quote() copies any amount of data
to a limited-size print_buf array.

---D. J. Bernstein, Associate Professor, Department of Mathematics,
Statistics, and Computer Science, University of Illinois at Chicago

[ Part 2, Text/HTML (charset: unknown-8bit) 56 lines. ]
[ Unable to print this part. ]

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close