Commit Graph
69 Commits
Author SHA1 Message Date
TheWitness 82b229db9e Updating Copyright to 2022. 2022-02-06 17:16:20 -05:00
Jing Chen b19f780a82 Fixed: XSS issue in graph_realtime.php (#4276)
* Fixed: XSS issue in graph_realtime.php

* Update CHANGELOG for PR#4276
2021-05-19 11:11:24 -04:00
TheWitness 6047c36c3a Fixing Issue #4199 - Stop Realtime from Gapping Graphs
Allow Cacti administrator to define a min refresh interval to prevent graph gaps
2021-03-26 21:43:24 -04:00
browniebraun 44226b3489 Complete #4074
- ensure that mime type will be updated.
- stop that rrd_function_process_graph_options will be forced to export PNG format only if Realtime has been identified as requestor.
2021-01-31 18:50:53 +01:00
TheWitness 563fc2e9e1 Fixing Issue #4074
Realtime ignores output format
2021-01-23 21:02:43 -05:00
TheWitness df54a4a3f3 Updating copright years 2021-01-01 20:28:58 -05:00
TheWitness c39321f269 One more attempt to resolve #3796
This is all that I can think of now.
2020-12-22 09:24:52 -05:00
TheWitness 517750ed80 Remove spinner as it's in all themes now 2020-10-18 11:40:02 -04:00
TheWitness 54268b7161 Fixing Issue #3786
Cacti 1.2.12 Realtime index errors
2020-09-06 20:12:22 -04:00
ahouston 0d14bd85ef issue#3538: Race condition exists between initialization of realtime and browser loading realtime javascript functions (#3587) 2020-05-29 12:09:41 +01:00
TheWitness bcd6e3b9e6 Fixing Issue #3532
Issues with Realtime in 1.2.12
2020-05-04 21:18:37 -04:00
netniV fea919e8fe When guest users have access to realtime graphs, remote code could be executed (CVE-2020-8813)
This is a low risk exploit as the default Cacti configuration is set such that the Guest account is disabled, the Guest account has no access to realtime graphs under permissions and the guest template user is not set.

It should also be noted, that this issue only seems to affect PHP versions before 7.2 and as such that again mitigates the likelihood of this being exploited.

However, should someone running PHP 7.1 or before, enable access to realtime graphs for guest users (which is against the recommendations of the group), it would be possible to craft a malicious packet that could be executed unwittingly.

The main reason for this is a lack of escaping around the session_id() when assigned to the poller id whilst building on the command to run poller_realtime.php. The simple fix was to hash the value so that it generated a reasonable unique poller id, that couldn't execute code.

This fix has already been verified by @mhasker before posting his findings.

Closes #3285
2020-02-23 06:09:32 +00:00
cigamit 0e26becfd1 More issues on #3196
Minimize use of eval() in JavaScript due to emerging Content-Security-Context guidelines
2020-01-23 17:25:36 -06:00
netniV 4fa9a68fb3 Update copyright to 2020 2020-01-12 12:19:49 +00:00
netniV 4cecb19f6b PHP Fatal error: Uncaught Error: Cannot pass parameter 5 by reference in graph_json.php:158
Closes #3104
2019-11-27 23:09:59 +00:00
ddb4github d5f98679a0 Fixed #3049(due to #2964) to add missed argv for most rrdtool_function_graph caller (#3087)
* Fixed: #2964 to add missed argv for all rrd_function_graph caller

* Fixed #2964: Apply security solution to aggregate graph preview and graph impage page
2019-11-17 14:15:41 -06:00
cigamit 9a1d2ec46d Resolving Issue #2964
Missing security user pass in graph_realtime.php for "Security issue allows to view all graphs"
2019-11-09 12:24:11 -06:00
cigamit 3449887359 Resolving #3012
* Some graph routines are not properly validating incoming variables
* There is a second part to this.
2019-10-12 14:25:28 -05:00
netniV 553665944a Some graph routines are not properly validating incoming variables
Closes #3012
2019-10-07 16:06:54 +00:00
cigamit 681b7f8c1b Correct visibility issue in Paper-plane 2019-09-28 21:29:39 -05:00
cigamit 65c85b0760 Resolving Issue #2892
* Realtime log non ordinary message
* This is new in develop.  Therefore, no CHANGELOG
* Also, don't log to standard output when updating single data source in boost.  It breaks REALTIME.
2019-09-28 15:48:44 -05:00
cigamit 184cd55ba2 Resolving Issue #2966
Realtime does not always track size and other settings well
2019-09-22 18:19:49 -05:00
netniV a0950bf10e Revert "Honor php.ini when php is used in exec() and shell_exec() calls (#2652)"
This reverts commit 33641a9abb.
2019-04-29 12:45:02 +00:00
netniV 1c6139f667 Revert "Correct a few misqueues on #2652"
This reverts commit 3e3ba86f23.
2019-04-29 12:44:53 +00:00
netniV a2d3fd8776 Revert "WIP: php argument composition (#2653)"
This reverts commit 8a23ca33e3.
2019-04-29 12:43:03 +00:00
David Runge 8a23ca33e3 WIP: php argument composition (#2653)
* Moving all argument composition for backgrounded calls of php to 'assemble_php_args()' in /lib/functions.php.

* lib/functions.php: Explicitely prepending all assembled arguments.

* lib/functions.php: Removing an accidental appending of the initial args in assemble_php_args().
2019-04-29 13:38:17 +01:00
cigamit 3e3ba86f23 Correct a few misqueues on #2652 2019-04-27 11:48:57 -05:00
David Runge 33641a9abb Honor php.ini when php is used in exec() and shell_exec() calls (#2652)
* Introducing the prepending of the current php.ini file, if any, to the extra arguments of backgrounded php calls (used with exec_background).
This enables the backgrounded process to stay in the same environment as the main one and not default back to a system wide default configuration file (which might or might not have configurations setup properly).

* Prepending the current php.ini in use (if any) to any exec() or shell_exec() call, that is doing a backgrounded call of the php executable.

* graph_realtime.php: Fixing missing whitespace between executable and first argument.
2019-04-27 21:32:32 +06:00
netniV 308292e2d7 Update copyright notices for 2019 2019-01-25 08:05:00 +00:00
cigamit ebf1c6c5ac Resolving Issue #2270 Realtime Graphs Taking Large Memory
Resolving this and a few other minor memory leaks.  Everything should
and have been validated to be working properly now.  There were a few
additional issues I found in performing a full regression.
2019-01-04 17:35:18 -06:00
cigamit cef4bd8671 -issue: align attribute is deprecated, use class instead 2018-11-10 11:35:55 -06:00
cigamit d25bf4878b Resolvng Issues #2084 and #2079
Non numeric value in graph_realtime.php and warnings about unvalidated
requrest variables.
2018-10-18 05:38:58 -05:00
cigamit 3ffd38a784 Minor update related to issue #2054
This catches one corner case related to realtime.
2018-10-11 17:38:33 -05:00
cigamit a45f33ce5f Resolving Issue #2052
[1.2.0 Beta 1] Issue with Realtime on new login
2018-10-11 06:51:26 -05:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
cigamit cdc07937bc Resolving Issue #1621
Realtime Popup can cause automatic logout.  Plus some additional
enhancements to the popup realtime.
2018-05-12 19:10:46 -05:00
cigamit 96f62fe610 Resolve Issue #1527
Update Fontawesome from 4.7 to 5.0.10
2018-04-22 09:24:27 -05:00
cigamit cc831495bc Add better formating to the realtime popup 2018-03-18 12:11:14 -05:00
cigamit 8e7b84963d Resolving Issue #1305
Realtime not working for the main data collector.
2018-02-07 17:04:52 -06:00
cigamit d3536ed321 Consolidation for Issue #1305
Code reduction by making all the header into a function.
2018-02-04 22:01:16 -06:00
cigamit 671fa2f736 Regression and QA on Issue #1305
Missing some files and settings.  We should really just have a common
header function to reduce the chances of variation.
2018-02-04 14:09:56 -06:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
Tony Roman 1a47a23b04 fixed issue with realtime cache cleanup removing all files 2017-07-10 00:12:55 -04:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit e5793b284b Adding more mobile features
Preparing for fullScreenMode support and more responsive fixes.
2017-04-12 17:34:51 -05:00
patrick 4d5bb9facb get_selected_theme()
- result of get_selected_theme() stored in vars
2017-04-06 18:00:38 +02:00
cigamit a8c560966a Correcting spelling and grammar issues 2017-01-12 19:09:16 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 93007bc347 add jquery-migrate to work around issues 2016-09-20 20:04:27 -05:00