perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Richter - ECOS <>
Subject AW: Embperl security bug
Date Wed, 08 Jan 2014 14:01:33 GMT

yes, the Embperl list is the right address for such issues.

The problem is, that Embperl has no idea what the webroot is, so it’s not easy to change
the error message the way you suggest.

For production sites it is better to use an Apache Error Document and don’t display the
interal error message at all. The Embperl error page is intended for debugging, not for production
use. See <>
how to setup an Apache ErrorDocument.

I hope this helps



Von: Wire Ghoul [] 
Gesendet: Dienstag, 7. Januar 2014 01:06
Betreff: Embperl security bug

Hello there,

I hope this is the right address for reporting this. I already reported it to debian, but
it does not appear to have made it upstream to their perl maintainers list so I thought I
would try a direct approach.

The embperl package reveals the full path of the webroot when displaying a 404 message. The
offending code appears to exist at: 
Embperl-2.4.0/epmain.c:137:        case rcNotFound:                msg
="[%d]ERR:  %d: %s Not found '%s', searched: %s" ; break ;

Although there may be other instances as well. The full details can be found through the original
Debian bug report: <>

Eldar "Wireghoul" Marcussen

View raw message