]> git.pld-linux.org Git - packages/cacti.git/blame - sql_injection_template_export.patch
- updated Plugin Archidecture to 2.9
[packages/cacti.git] / sql_injection_template_export.patch
CommitLineData
0271d4b8 1--- cacti-0.8.7e/templates_export.php 2009-06-28 12:07:11.000000000 -0400
2+++ cacti-fixed/templates_export.php 2010-04-17 14:08:42.000000000 -0400
3@@ -49,6 +49,10 @@
4 function form_save() {
5 global $export_types;
6
7+ /* ================= input validation ================= */
8+ input_validate_input_number(get_request_var_post("export_item_id"));
9+ /* ==================================================== */
10+
11 if (isset($_POST["save_component_export"])) {
12 $xml_data = get_item_xml($_POST["export_type"], $_POST["export_item_id"], (((isset($_POST["include_deps"]) ? $_POST["include_deps"] : "") == "") ? false : true));
13
This page took 0.0698 seconds and 4 git commands to generate.