BlogPlugin/lib/TWiki/Plugins/BlogPlugin/Factory.pm |
|
103 |
$newWeb = TWiki::Sandbox::untaintUnchecked($newWeb); |
web name |
|
104 |
$baseWeb = TWiki::Sandbox::untaintUnchecked($baseWeb); |
web name |
DBCachePlugin/lib/TWiki/Plugins/DBCachePlugin/Core.pm |
|
86 |
sub renderWikiWordHandler {
# ...
$theWeb = TWiki::Sandbox::untaintUnchecked($theWeb);# woops why is theWeb tainted |
web name |
DakarContrib/lib/TWiki/Contrib/DakarContrib.pm |
|
172 |
push @result, untaintUnchecked( $component ); |
path name component (passed through NameFilter) |
|
242 |
push @targs, untaintUnchecked($param); |
deliberately unchecked |
DirectedGraphPlugin/lib/TWiki/Plugins/DirectedGraphPlugin.pm |
|
641 |
$f = TWiki::Sandbox::untaintUnchecked($f); |
file name |
|
646 |
$newname = TWiki::Sandbox::untaintUnchecked($newname); |
file name |
|
705 |
$f = TWiki::Sandbox::untaintUnchecked($f); |
file name |
ExcelImportExportPlugin/lib/TWiki/Plugins/ExcelImportExportPlugin/Import.pm |
|
87 |
$xlsfile = TWiki::Sandbox::untaintUnchecked($xlsfile); |
absolute file name |
|
279 |
$newtopic = TWiki::Sandbox::untaintUnchecked($newtopic); |
topic name |
|
478 |
TWiki::Sandbox::untaintUnchecked( $config{UPLOADTOPIC} ) ); |
topic name |
LdapContrib/lib/TWiki/Contrib/LdapContrib.pm |
|
1167 |
my $groupNames = TWiki::Sandbox::untaintUnchecked($this->{data}{GROUPS}) || ''; |
comma-separated list of LDAP group names |
|
1202 |
my $emails = TWiki::Sandbox::untaintUnchecked($this->{data}{"U2EMAIL::".lc($login)}) || ''; |
email address |
|
1218 |
my $loginNames = TWiki::Sandbox::untaintUnchecked($this->{data}{"EMAIL2U::".$email}) || ''; |
comma-separated list of login names |
|
1236 |
my $members = TWiki::Sandbox::untaintUnchecked($this->{data}{"GROUPS::$groupName"}) || ''; |
comma-separated list of group members (wiki names?) |
|
1270 |
return TWiki::Sandbox::untaintUnchecked($this->{data}{"U2W::$loginName"}); |
wiki name |
|
1284 |
my $loginName = TWiki::Sandbox::untaintUnchecked($this->{data}{"W2U::$wikiName"}); |
login name |
|
1288 |
$loginName = TWiki::Sandbox::untaintUnchecked($this->{data}{"W2U::$alias"}) |
login name |
|
1306 |
my $wikiNames = TWiki::Sandbox::untaintUnchecked($this->{data}{WIKINAMES}) || ''; |
comma-separated list of wiki names |
|
1322 |
my $loginNames = TWiki::Sandbox::untaintUnchecked($this->{data}{LOGINNAMES}) || ''; |
comma-separated list of login names |
|
1338 |
return TWiki::Sandbox::untaintUnchecked($this->{data}{"U2DN::$loginName"}); |
LDAP distinguished name |
LoadTagsPlugin/lib/TWiki/Plugins/LoadTagsPlugin.pm |
|
95 |
$module = 'TWiki/Tags/' . TWiki::Sandbox::untaintUnchecked($module); |
file name (validated for [a-zA-Z0-9_]+) |
MostPopularPlugin/lib/TWiki/Plugins/MostPopularPlugin/Statistics.pm |
|
134 |
my $tmpFilename = TWiki::Sandbox::untaintUnchecked( "$tmpDir/twiki-stats.$$.$randNo" ); |
path name |
SubversionStoreContrib/lib/Foswiki/Store/Subversive.pm |
|
265 |
$att = Foswiki::Sandbox::untaintUnchecked($att); |
attachment file name |
UnitTestContrib/lib/Unit/Request.pm |
|
30 |
$this->path_info(Foswiki::Sandbox::untaintUnchecked($path)); |
URL path (intentional?) |
UnitTestContrib/test/unit/RobustnessTests.pm |
|
33 |
$this->assert_str_equals('', Foswiki::Sandbox::untaintUnchecked ('')); |
unit test case for untaintUnchecked() |
|
34 |
$this->assert_not_null('abc', Foswiki::Sandbox::untaintUnchecked ('abc')); |
|
35 |
$this->assert_null(Foswiki::Sandbox::untaintUnchecked (undef)); |
XpTrackerPlugin/lib/TWiki/Plugins/XpTrackerPlugin.pm |
|
649 |
$title= TWiki::Sandbox::untaintUnchecked($title); |
topic name (validated for WikiWord and specific format; call to TWiki::Func::topicExists() might be safer after validation) |
YetAnotherXpTrackerPlugin/lib/TWiki/Plugins/XpTrackerPlugin.pm |
|
1808 |
my $tmpFile = TWiki::Sandbox::untaintUnchecked( 'TemporaryTopic' ); |
unnecessary |
|
2727 |
$story = TWiki::Sandbox::untaintUnchecked( $story ); |
topic name |
|
3199 |
$story = TWiki::Sandbox::untaintUnchecked( $story ); |
topic name |
core/lib/Foswiki/LoginManager.pm |
|
331 |
my $sessionUser = Foswiki::Sandbox::untaintUnchecked( |
login name |
|
351 |
my $cUID = Foswiki::Sandbox::untaintUnchecked( |
login name? |
|
372 |
my $sudoUser = Foswiki::Sandbox::untaintUnchecked( |
login name? |
|
474 |
$file = Foswiki::Sandbox::untaintUnchecked( |
absolute file name |
core/lib/Foswiki/Net.pm |
|
256 |
Foswiki::Sandbox::untaintUnchecked( $this->{MAIL_HOST} ); |
host name |
core/lib/Foswiki/Store/RcsWrap.pm |
|
215 |
unlink Foswiki::Sandbox::untaintUnchecked($tmpfile); |
absolute file name re: SMELL comment: untainting is currently required since tmp directory may retrieved from environment variable. Note untainting ought to be done earlier. Alternatively, use a tmp directory specifically defined beneath the Foswiki installation. |
|
216 |
unlink Foswiki::Sandbox::untaintUnchecked($tmpRevFile); |
core/lib/Foswiki/Store/RcsFile.pm |
|
124 |
$file = Foswiki::Sandbox::untaintUnchecked($file); |
absolute file name |
|
256 |
map { Foswiki::Sandbox::untaintUnchecked($_) } |
topic name (passed through NameFilter) |
|
276 |
map { Foswiki::Sandbox::untaintUnchecked($_) } |
web name (passed through NameFilter) |
|
568 |
$att = Foswiki::Sandbox::untaintUnchecked($att); |
attachment file name |
|
861 |
return Foswiki::Sandbox::untaintUnchecked( |
919 |
$entry = Foswiki::Sandbox::untaintUnchecked( $entry ); |
core/lib/Foswiki/Search.pm |
|
76 |
$pattern = Foswiki::Sandbox::untaintUnchecked($pattern); |
arbitrary string ($, @, %, &, #, ', `, and / are escaped and text inserted into a s// expression) |
|
615 |
$web = Foswiki::Sandbox::untaintUnchecked($web); |
web name (characters in NameFilter are stripped) |
core/lib/Foswiki/Sandbox.pm |
|
151 |
normalizeFileName(): return untaintUnchecked($string); |
path component (passed through NameFilter) |
|
203 |
sanitizeAttachmentName(): $fileName = untaintUnchecked($fileName); |
attachment name (passed through NameFilter) |
|
246 |
_buildCommandLine(): if ( $flag eq 'U' ) {
push @targs, untaintUnchecked($param);
} |
deliberately unchecked |
|
271 |
_buildCommandLine(): elsif ( $flag eq 'S' ) {
# "Harmless" string. Aggressively filter-in on unsafe
# platforms.
if ( $SAFE || $param =~ /^[-0-9A-Za-z.+_]+$/ ) {
push @targs, untaintUnchecked($param);
} |
simple string |
core/lib/Foswiki/Engine/CLI.pm |
|
29 |
my $arg = Foswiki::Sandbox::untaintUnchecked( |
Wiki CLI argument |
|
41 |
$this->{path_info} = Foswiki::Sandbox::untaintUnchecked($arg); |
core/lib/Foswiki/Form.pm |
|
249 |
# using $class=Foswiki::Sandbox::untaintUnchecked($class) also works but is one more method call. |
Perl word characters (manual untainting) |
core/lib/Foswiki/Store.pm |
|
1825 |
return Foswiki::Sandbox::untaintUnchecked($rev); |
integer string (all non-digit characters are stripped) |
core/lib/Foswiki/Plugin.pm |
|
94 |
$name = Foswiki::Sandbox::untaintUnchecked($name); |
plugin name |
core/lib/Foswiki/UI/Register.pm |
|
183 |
$row->{WikiName} = Foswiki::Sandbox::untaintUnchecked( $row->{WikiName} ); |
wiki name |
|
1347 |
unlink( Foswiki::Sandbox::untaintUnchecked($f) ); |
file name |
|
1443 |
$data->{$name} = Foswiki::Sandbox::untaintUnchecked($value); |
registration form data |
|
1446 |
$data->{WikiName} = Foswiki::Sandbox::untaintUnchecked( $data->{WikiName} ); |
wiki name |
core/lib/Foswiki/UI/Manage.pm |
|
173 |
$newWeb = Foswiki::Sandbox::untaintUnchecked($newWeb); |
web name (validated using Foswiki::isValidWebName) |
|
191 |
$baseWeb = Foswiki::Sandbox::untaintUnchecked($baseWeb); |
web name (validated using Foswiki::webExists) |
|
196 |
$newTopic = Foswiki::Sandbox::untaintUnchecked($newTopic); |
topic name |
|
283 |
$newTopic = Foswiki::Sandbox::untaintUnchecked($newTopic); |
topic name |
|
293 |
$newWeb = Foswiki::Sandbox::untaintUnchecked($newWeb); |
web name (validated using Foswiki::isValidWebName) |
|
298 |
$attachment = Foswiki::Sandbox::untaintUnchecked($attachment); |
attachment file name |
|
570 |
$session->{topicName} = Foswiki::Sandbox::untaintUnchecked($newTopic); |
topic name if non-wiki word topic is allowed; otherwise, validated using Foswiki::isValidTopicName |
|
571 |
$session->{webName} = Foswiki::Sandbox::untaintUnchecked($newWeb); |
web name |
|
600 |
$newParentWeb = Foswiki::Sandbox::untaintUnchecked($newParentWeb); |
web name (validated using Foswiki::isValidWebName) |
|
610 |
$newSubWeb = Foswiki::Sandbox::untaintUnchecked($newSubWeb); |
web name (validated using Foswiki::isValidWebName) |
|
693 |
$webIter = Foswiki::Sandbox::untaintUnchecked($webIter); |
full web name path (taint nature depends on underlying store->getTopicNames) |
|
694 |
$webTopic = Foswiki::Sandbox::untaintUnchecked($webTopic); |
topic name (tainted nature depends on underlying store->getTopicNames) |
|
731 |
$webIter = Foswiki::Sandbox::untaintUnchecked($webIter); |
web name (tainted nature depends on underlying store->getListOfWebs) |
|
734 |
$webTopic = Foswiki::Sandbox::untaintUnchecked($webTopic); |
topic name (tainted nature depends on underlying store->getTopicNames) |
|
875 |
$webIter = Foswiki::Sandbox::untaintUnchecked($webIter); |
web name (tainted nature depends on underlying store->getListOfWebs) |
|
878 |
$webTopic = Foswiki::Sandbox::untaintUnchecked($webTopic); |
topic name (tainted nature depends on underlying store->getTopicNames) |
|
888 |
$webTopic = Foswiki::Sandbox::untaintUnchecked($webTopic); |
topic name (tainted nature depends on underlying store->getTopicNames) |
|
890 |
$webIter = Foswiki::Sandbox::untaintUnchecked($webIter); |
full web name path (tainted nature depends on underlying store->getTopicNames) |
core/lib/Foswiki/UI/Statistics.pm |
|
116 |
Foswiki::Sandbox::untaintUnchecked("$tmpDir/twiki-stats.$$.$randNo"); |
absolute file name |
|
132 |
Foswiki::Sandbox::untaintUnchecked( $session->{request}->param('webs') ) |
comma-separated list of webs |
core/lib/Foswiki.pm |
|
271 |
Foswiki::Sandbox::untaintUnchecked( $ENV{SERVER_NAME} ); |
host name (validated for valid host name format) |
|
1328 |
$ENV{PATH} = Foswiki::Sandbox::untaintUnchecked( $ENV{PATH} ); |
OS path (if SaveEnvPath set, unless SaveEnvPath is validated) |
|
1415 |
$this->{topicName} = Foswiki::Sandbox::untaintUnchecked($topic); |
topic name (characters matching NameFilter are stripped) |
|
1419 |
Foswiki::Sandbox::untaintUnchecked($web); #can be an empty string |
web name (characters matching NameFilter are stripped) |
|
1421 |
$this->{webName} = Foswiki::Sandbox::untaintUnchecked($web); |
web name unless UsersWebName is validated |
|
1440 |
Foswiki::Sandbox::untaintUnchecked( ucfirst $this->{topicName} ); |
topic name (redundant as untainting is done earlier) |
|
1829 |
$thePattern = Foswiki::Sandbox::untaintUnchecked($thePattern); |
arbitrary string ($, @, %, &, #, ', `, and / are escaped and text inserted into a s// expression) |
Summary |
919: 1%BR% <img src="/pub/System/DocumentGraphics/choice-yes.png" alt="DONE" title="DONE" width="16" height="16" />: 8%BR% <span class='foswikiIcon'><img src='/pub/System/DocumentGraphics/stop.png' width='16' height='16' alt='stop' /></span>: 78 |
|
BlogPlugin/lib/TWiki/Plugins/BlogPlugin/Factory.pm: 1%BR% DBCachePlugin/lib/TWiki/Plugins/DBCachePlugin/Core.pm: 1%BR% DakarContrib/lib/TWiki/Contrib/DakarContrib.pm: 1%BR% DirectedGraphPlugin/lib/TWiki/Plugins/DirectedGraphPlugin.pm: 1%BR% ExcelImportExportPlugin/lib/TWiki/Plugins/ExcelImportExportPlugin/Import.pm: 1%BR% LdapContrib/lib/TWiki/Contrib/LdapContrib.pm: 1%BR% LoadTagsPlugin/lib/TWiki/Plugins/LoadTagsPlugin.pm: 1%BR% MostPopularPlugin/lib/TWiki/Plugins/MostPopularPlugin/Statistics.pm: 1%BR% SubversionStoreContrib/lib/Foswiki/Store/Subversive.pm: 1%BR% UnitTestContrib/lib/Unit/Request.pm: 1%BR% UnitTestContrib/test/unit/RobustnessTests.pm: 1%BR% XpTrackerPlugin/lib/TWiki/Plugins/XpTrackerPlugin.pm: 1%BR% YetAnotherXpTrackerPlugin/lib/TWiki/Plugins/XpTrackerPlugin.pm: 1%BR% ^: 59%BR% ^ <span class='foswikiIcon'><img src='/pub/System/DocumentGraphics/stop.png' width='16' height='16' alt='stop' /></span>: 1%BR% core/lib/Foswiki.pm: 1%BR% core/lib/Foswiki/Engine/CLI.pm: 1%BR% core/lib/Foswiki/Form.pm: 1%BR% core/lib/Foswiki/LoginManager.pm: 1%BR% core/lib/Foswiki/Net.pm: 1%BR% core/lib/Foswiki/Plugin.pm: 1%BR% core/lib/Foswiki/Sandbox.pm: 1%BR% core/lib/Foswiki/Search.pm: 1%BR% core/lib/Foswiki/Store.pm: 1%BR% core/lib/Foswiki/Store/RcsFile.pm: 1%BR% core/lib/Foswiki/Store/RcsWrap.pm: 1%BR% core/lib/Foswiki/UI/Manage.pm: 1%BR% core/lib/Foswiki/UI/Register.pm: 1%BR% core/lib/Foswiki/UI/Statistics.pm: 1 |
|