Commit Graph
22 Commits
Author SHA1 Message Date
TheWitness df54a4a3f3 Updating copright years 2021-01-01 20:28:58 -05:00
TheWitness 565e0604a5 Fixing Issue #4022
SQL Injection in data_debug.php
2020-12-24 10:39:50 -05:00
TheWitness ef10fe1c34 Fixing Issue #4019
* In a recent audit of core Cacti code, there were a few stored XSS issues that can be exposed
* Also removed a few spurious title_trims, that should no longer be a problem.
2020-12-23 16:33:27 -05:00
TheWitness 73cff05347 Fixing Issue #3869
Cacti Data Debug can show errors if the Data Source is damaged or has been removed
2020-10-17 17:13:53 -04:00
netniV 4b4f8324f2 When sorting data debug checks by user, no results are shown (#3713)
When sorting data debug checks by user, no results are shown and
errors recorded into the cacti log because the user field was being
looked up seperately.  However, there is no need for this as it can
all be done in the SQL statement so removed the extra code and had
SQL bring the user in allowing it to be sortable.

Closes #3713
2020-07-31 14:07:25 +00:00
netniV 798f499eac Further fixes for #3549 2020-05-20 20:58:07 +00:00
cigamit 4cbb045e03 Resolving Issue #3191
* Vulnerability report: Lack of escaping on some pages can lead
to XSS exposure
* Also cleaning up additional copyrights
* Make the way filter headers are escaped consistent
2020-01-15 19:56:32 -06:00
netniV bf680ebd0f Passing glue string after array is deprecated (PHP 7.4)
Closes #3151
2019-12-19 14:11:06 +00:00
cigamit 8a6d100dd9 Resolved Issue #2741
Resolve a number of QA issues in various files
One additional fix for data debug as to default debug state
2019-06-22 09:23:29 -05:00
netniV 013c8eb644 Resolves multiple issues:
-issue#2590: Language selection is not working as expected
-issue#2605: When checking for tables to upgrade, undefined variable $config error occurs
-issue#2608: db_update_table() function should not require an engine type or comment
-issue#2610: Data Sources troubleshooter generates warning that each() function is deprecated

Closes #2590, 2605, 2608, 2610
2019-04-04 11:49:59 +00:00
cigamit 92721ddb95 Resolving Issue #2500
Allow Data Source repairs from the Data Source Debug and Data Source Info pages
2019-03-09 15:15:00 -06:00
cigamit cce82eab7d Minor fixups
* Allow more memory for data debug
* Properly align the recommendations
2019-03-08 19:18:09 -06:00
cigamit f9dc7dcd9e -issue: Data Debug was not logging
Fixed a few additional UI and usability bugs
2019-01-13 09:53:13 -06:00
cigamit e1dad073ba Properly display "No XXX Found" rows 2019-01-12 09:48:29 -06:00
netniV ee18c329d6 Moving data source debugging to new Troubleshooting section 2018-12-30 17:00:19 +00:00
cigamit da5fa750e0 Visual issues when many issues exist 2018-12-30 04:36:17 -06:00
cigamit a50efdf8b8 Minor visual issues with data debug 2018-12-18 19:29:45 -06:00
cigamit b803e8ca53 Update data_debug.php for scalability 2018-12-17 20:36:56 -06:00
cigamit 80c2a88fb2 Resolving Issues #2213, #2214, #2215 and Additional
Multiple XSS vectors associated with un-escaped strings.  Introduce new
function, audit all calls, remove inline styles for classes, some i18n
missed.
2018-12-16 09:54:11 -06:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
Jimmy Conner c60bb207d9 Correct misspelled function name 2018-08-11 17:24:06 -05:00
Mark Brugnoli-Vinten 6e1b8431b7 Fixes for Issues 1781, 1782 and 1784 (#1785)
* Fixes for Issues 1781, 1782 and 1784

This patch corrects the following issues:

- #1782 During Install, changing the Theme from Modern to another theme has no
        effect
- #1784 During Install, changing the Language from one to another has no
        effect
- #1781 Installer does not warn when mysql optimizations not set

As part of #1781's fixes, a new warning icon is displayed instead of a thumbs
up or down.  Additionally, recommendations have been revamped so that the ones
which are optionally (and some even state can be ignored) are now optional!

Also, introduced the correct calculation for innodb instances by taking the
buffer size during a previous recommendation and calculating from that.  If
the buffer size is never found or the calcuation finds less than 1 instances
are recommended, a minimum of 1 is set.

The main reason for #1782 and #1784's issues were caused by renaming index.php
to install.php as part of the recent security update (see PR #1747).  Updated
the javascript to use the correct install.php and then removed some extra data
that was being returned outside of StepData unnecessarily.

* Further fixes

This update corrects a number of issues with the database upgrading code, adds
the 'debug' plugin from cigamit, improves database functions to be more
consistent with errors across all functions and various installer based fixes
for the display and update of database upgrades.

It also brings a more visual response to the cli/upgrade_database.php so that
end users are not left wondering if something is happening.  Also, reviewed
all upgrade scripts to ensure that an upgrade from 0.8.8 through to 1.2.0 is
possible even if a previous database upgrade have been done.

* Fix QA issue with 'path_cactilog'

Due to some code reshuffle and testing, found that the above setting was being
read via read_config_option() before there was a database open so no path was
ever detected unless the force option was used.
2018-08-05 10:43:01 -05:00