[From nobody Mon Nov 23 18:25:14 2026
Received: (at submit) by bugs.debian.org; 12 Dec 2013 06:52:30 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2-bugs.debian.org_2005_01_02
 (2011-06-06) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.3 required=4.0 tests=BAYES_00, DATE_IN_FUTURE_12_24,
 DKIM_ADSP_CUSTOM_MED,FOURLA,FREEMAIL_FROM,HAS_PACKAGE,NML_ADSP_CUSTOM_MED,
 RDNS_NONE,SPF_SOFTFAIL,XMAILER_REPORTBUG autolearn=ham
 version=3.3.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 68; spammy,
 1. spammytokens:0.995-1--UD:epl hammytokens:0.000-+--H*x:6.4.4,
 0.000-+--H*UA:6.4.4, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
 0.000-+--H*x:reportbug
Return-path: &lt;wireghoul@gmail.com&gt;
Received: from [192.3.170.139] (helo=mail.justanotherhacker.com)
 by buxtehude.debian.org with esmtp (Exim 4.80)
 (envelope-from &lt;wireghoul@gmail.com&gt;) id 1Vr08M-00075k-Of
 for submit@bugs.debian.org; Thu, 12 Dec 2013 06:52:30 +0000
Received: by mail.justanotherhacker.com (Postfix, from userid 1000)
 id 2C8EA42961; Thu, 12 Dec 2013 21:52:43 -0500 (EST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Eldar Marcussen &lt;wireghoul@gmail.com&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libembperl-perl: Embperl discloses full filesystem path in 404 pages
Message-ID: &lt;20131213025243.30466.86728.reportbug@codex&gt;
X-Mailer: reportbug 6.4.4
Date: Thu, 12 Dec 2013 21:52:43 -0500
X-Greylist: delayed 321 seconds by postgrey-1.34 at buxtehude;
 Thu, 12 Dec 2013 06:52:30 UTC
Delivered-To: submit@bugs.debian.org

Package: libembperl-perl
Version: 2.5.0~rc3-1~bpo70+1
Severity: important
Tags: upstream

Dear Maintainer,

The Embperl handler discloses the full local file path when displaying 404 page.
Hence any request to a file ending in .epl will reveal the document root 
configured for the virtual host

   * What was the outcome of this action?
GET localhost/aksndlaksndklajnd.epl | grep /var/www
[1703]ERR:  404: aksndlaksndklajnd.epl(1): Not found '/var/www/aksndlaksndklajnd.epl', searched: No such file or directory

   * What outcome did you expect instead?
Not disclosing that the webroot is /var/www, ie: Not found: /aksndlaksndklajnd.epl


-- System Information:
Debian Release: 7.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libembperl-perl depends on:
ii  libc6                       2.13-38
ii  libwww-perl                 6.04-1
ii  libxml2                     2.8.0+dfsg1-7+nmu2
ii  libxslt1.1                  1.1.26-14.1
ii  perl                        5.14.2-21+deb7u1
ii  perl-base [perlapi-5.14.2]  5.14.2-21+deb7u1

Versions of packages libembperl-perl recommends:
ii  apache2-mpm-prefork      2.2.22-13
ii  libapache-sessionx-perl  2.01-4
ii  libapache2-mod-perl2     2.0.7-3

Versions of packages libembperl-perl suggests:
pn  libdbix-recordset-perl  &lt;none&gt;
pn  libjs-prototype         &lt;none&gt;
pn  mmm-mode                &lt;none&gt;

-- no debconf information
]