National Institute of Standards and Technology
Package illustrating a test case

Test case 1284

Description

Off-by-one overflow in fb_realpath() CAN-2003-0466.
PATCHED version.
From MIT benchmarks (models/wu-ftpd/f2)
An off-by-one overflow inside the fb_realpath() function
that expands a condensed pathname into a fully qualified pathname. To
exploit this vulnerability, an attacker would first have to create a
deep directory structure.
Patched file: realpath-ok.c
Patched line number: 468

Flaws

Test Suites

Have any comments on this test case? Please, send us an email.