This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 240
fix(secu): prevent from sql injections in services pages #8082
Merged
sc979
merged 10 commits into
MON-4422-fix-master-sql-injections-in-monitoring-pages
from
MON-4425-fix-master-sql-injections-in-services-pages
Nov 6, 2019
Merged
fix(secu): prevent from sql injections in services pages #8082
sc979
merged 10 commits into
MON-4422-fix-master-sql-injections-in-monitoring-pages
from
MON-4425-fix-master-sql-injections-in-services-pages
Nov 6, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sc979
force-pushed
the
MON-4422-fix-master-sql-injections-in-monitoring-pages
branch
from
November 4, 2019 08:10
e567a41
to
c53e78e
Compare
loiclau
reviewed
Nov 5, 2019
www/include/monitoring/status/Services/xml/serviceSummaryXML.php
Outdated
Show resolved
Hide resolved
loiclau
reviewed
Nov 5, 2019
loiclau
reviewed
Nov 5, 2019
loiclau
approved these changes
Nov 5, 2019
17 tasks
sc979
force-pushed
the
MON-4422-fix-master-sql-injections-in-monitoring-pages
branch
from
November 6, 2019 10:14
c53e78e
to
9f431db
Compare
sc979
force-pushed
the
MON-4425-fix-master-sql-injections-in-services-pages
branch
from
November 6, 2019 10:21
adbb33a
to
d9db841
Compare
sc979
force-pushed
the
MON-4425-fix-master-sql-injections-in-services-pages
branch
from
November 6, 2019 10:53
77c58d8
to
7a9237b
Compare
sc979
deleted the
MON-4425-fix-master-sql-injections-in-services-pages
branch
November 6, 2019 10:54
sc979
added a commit
that referenced
this pull request
Nov 8, 2019
* prevent sql injection in makeXMLForOneHostXML.php * prevent sql injection in makeXMLForOneServiceXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceGridXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceSummaryXML.php * remove debug and prepare second query * style
sc979
added a commit
that referenced
this pull request
Nov 12, 2019
* prevent sql injection in makeXMLForOneHostXML.php * prevent sql injection in makeXMLForOneServiceXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceGridXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceSummaryXML.php * remove debug and prepare second query * style
sc979
added a commit
that referenced
this pull request
Nov 12, 2019
…ster (#8063) * fix(secu): remove unused topCounter files and folders (#8007) * fix(secu): remove unused http parameters in service by servicegroup summary XML (#8064) * fix(secu): remove or sanitize unused https arguments in service by servicegroup summary * fix(secu): Avoid SQL injections in service by servicegroup pages (#8065) * fix(secu): avoid SQL injection in serviceByServicegroupGridXML.php file * fix(secu): avoid SQL injection in serviceByServicegroupSummaryXML.php file * fix(secu): remove or sanitize unused https arguments in service by servicegroup GRID (#8066) * fix(secu): remove unused http parameters in services by hostgroup files (#8074) * fix(secu): sanitize or remove unused params in serviceSummaryBYHGXML file * fix(secu): sanitize or remove unused params in serviceGridBYHGXML file * fix(secu): remove unused http parameters in hostgroup xml.php (#8073) * fix(secu): remove unused http parameters in hostgroupXML.php file * fix(secu): remove unused http parameters in services files (#8078) * fix(secu): sanitize makeXMLForOneHost.php * fix(secu): sanitize makeXMLForOneService.php * fix(secu): better hadling session check * fix(secu): sanitize or remove unused params in serviceXML file * fix(secu): sanitize serviceGridXML.php * fix(secu): sanitize serviceSummaryXML.php * fix(secu): remove unused http parameters in hostXML file (#8079) * fix(secu): sanitize or remove unused params in hostXML file * fix(secu): prevent from sql injections in host page (#8087) * prevent sql injection in hostXML.php * replace uppercase table alias by lowercase * delete case duplicating the default case * replace array() with [] * fix(secu): prevent from sql injections from common xml model (#8083) * fix(secu): prevent from sql injections in services pages (#8082) * prevent sql injection in makeXMLForOneHostXML.php * prevent sql injection in makeXMLForOneServiceXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceGridXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceSummaryXML.php * remove debug and prepare second query * fix(secu): prevent from sql injections in hostgroupXML file (#8081) * fix(secu): avoid sql injections in hostgroupXML file * fix(UI): add the order param to the request * remove useless declarations * replace regexp with whitelist * add missing array declaration * fix(CI): sonar coding style issue
sc979
added a commit
that referenced
this pull request
Nov 12, 2019
…ster (#8063) * fix(secu): remove unused topCounter files and folders (#8007) * fix(secu): remove unused http parameters in service by servicegroup summary XML (#8064) * fix(secu): remove or sanitize unused https arguments in service by servicegroup summary * fix(secu): Avoid SQL injections in service by servicegroup pages (#8065) * fix(secu): avoid SQL injection in serviceByServicegroupGridXML.php file * fix(secu): avoid SQL injection in serviceByServicegroupSummaryXML.php file * fix(secu): remove or sanitize unused https arguments in service by servicegroup GRID (#8066) * fix(secu): remove unused http parameters in services by hostgroup files (#8074) * fix(secu): sanitize or remove unused params in serviceSummaryBYHGXML file * fix(secu): sanitize or remove unused params in serviceGridBYHGXML file * fix(secu): remove unused http parameters in hostgroup xml.php (#8073) * fix(secu): remove unused http parameters in hostgroupXML.php file * fix(secu): remove unused http parameters in services files (#8078) * fix(secu): sanitize makeXMLForOneHost.php * fix(secu): sanitize makeXMLForOneService.php * fix(secu): better hadling session check * fix(secu): sanitize or remove unused params in serviceXML file * fix(secu): sanitize serviceGridXML.php * fix(secu): sanitize serviceSummaryXML.php * fix(secu): remove unused http parameters in hostXML file (#8079) * fix(secu): sanitize or remove unused params in hostXML file * fix(secu): prevent from sql injections in host page (#8087) * prevent sql injection in hostXML.php * replace uppercase table alias by lowercase * delete case duplicating the default case * replace array() with [] * fix(secu): prevent from sql injections from common xml model (#8083) * fix(secu): prevent from sql injections in services pages (#8082) * prevent sql injection in makeXMLForOneHostXML.php * prevent sql injection in makeXMLForOneServiceXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceGridXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceSummaryXML.php * remove debug and prepare second query * fix(secu): prevent from sql injections in hostgroupXML file (#8081) * fix(secu): avoid sql injections in hostgroupXML file * fix(UI): add the order param to the request * remove useless declarations * replace regexp with whitelist * add missing array declaration * fix(CI): sonar coding style issue
sc979
added a commit
that referenced
this pull request
Nov 12, 2019
…ster (#8063) * fix(secu): remove unused topCounter files and folders (#8007) * fix(secu): remove unused http parameters in service by servicegroup summary XML (#8064) * fix(secu): remove or sanitize unused https arguments in service by servicegroup summary * fix(secu): Avoid SQL injections in service by servicegroup pages (#8065) * fix(secu): avoid SQL injection in serviceByServicegroupGridXML.php file * fix(secu): avoid SQL injection in serviceByServicegroupSummaryXML.php file * fix(secu): remove or sanitize unused https arguments in service by servicegroup GRID (#8066) * fix(secu): remove unused http parameters in services by hostgroup files (#8074) * fix(secu): sanitize or remove unused params in serviceSummaryBYHGXML file * fix(secu): sanitize or remove unused params in serviceGridBYHGXML file * fix(secu): remove unused http parameters in hostgroup xml.php (#8073) * fix(secu): remove unused http parameters in hostgroupXML.php file * fix(secu): remove unused http parameters in services files (#8078) * fix(secu): sanitize makeXMLForOneHost.php * fix(secu): sanitize makeXMLForOneService.php * fix(secu): better hadling session check * fix(secu): sanitize or remove unused params in serviceXML file * fix(secu): sanitize serviceGridXML.php * fix(secu): sanitize serviceSummaryXML.php * fix(secu): remove unused http parameters in hostXML file (#8079) * fix(secu): sanitize or remove unused params in hostXML file * fix(secu): prevent from sql injections in host page (#8087) * prevent sql injection in hostXML.php * replace uppercase table alias by lowercase * delete case duplicating the default case * replace array() with [] * fix(secu): prevent from sql injections from common xml model (#8083) * fix(secu): prevent from sql injections in services pages (#8082) * prevent sql injection in makeXMLForOneHostXML.php * prevent sql injection in makeXMLForOneServiceXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceGridXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceSummaryXML.php * remove debug and prepare second query * fix(secu): prevent from sql injections in hostgroupXML file (#8081) * fix(secu): avoid sql injections in hostgroupXML file * fix(UI): add the order param to the request * remove useless declarations * replace regexp with whitelist * add missing array declaration * fix(CI): sonar coding style issue
sc979
added a commit
that referenced
this pull request
Nov 12, 2019
…ster (#8063) * fix(secu): remove unused topCounter files and folders (#8007) * fix(secu): remove unused http parameters in service by servicegroup summary XML (#8064) * fix(secu): remove or sanitize unused https arguments in service by servicegroup summary * fix(secu): Avoid SQL injections in service by servicegroup pages (#8065) * fix(secu): avoid SQL injection in serviceByServicegroupGridXML.php file * fix(secu): avoid SQL injection in serviceByServicegroupSummaryXML.php file * fix(secu): remove or sanitize unused https arguments in service by servicegroup GRID (#8066) * fix(secu): remove unused http parameters in services by hostgroup files (#8074) * fix(secu): sanitize or remove unused params in serviceSummaryBYHGXML file * fix(secu): sanitize or remove unused params in serviceGridBYHGXML file * fix(secu): remove unused http parameters in hostgroup xml.php (#8073) * fix(secu): remove unused http parameters in hostgroupXML.php file * fix(secu): remove unused http parameters in services files (#8078) * fix(secu): sanitize makeXMLForOneHost.php * fix(secu): sanitize makeXMLForOneService.php * fix(secu): better hadling session check * fix(secu): sanitize or remove unused params in serviceXML file * fix(secu): sanitize serviceGridXML.php * fix(secu): sanitize serviceSummaryXML.php * fix(secu): remove unused http parameters in hostXML file (#8079) * fix(secu): sanitize or remove unused params in hostXML file * fix(secu): prevent from sql injections in host page (#8087) * prevent sql injection in hostXML.php * replace uppercase table alias by lowercase * delete case duplicating the default case * replace array() with [] * fix(secu): prevent from sql injections from common xml model (#8083) * fix(secu): prevent from sql injections in services pages (#8082) * prevent sql injection in makeXMLForOneHostXML.php * prevent sql injection in makeXMLForOneServiceXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceGridXML.php * prevent sql injection in serviceXML.php * prevent sql injection in serviceSummaryXML.php * remove debug and prepare second query * fix(secu): prevent from sql injections in hostgroupXML file (#8081) * fix(secu): avoid sql injections in hostgroupXML file * fix(UI): add the order param to the request * remove useless declarations * replace regexp with whitelist * add missing array declaration * fix(CI): sonar coding style issue
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Template
Description
Fixes # (issue)
Type of change
Target serie
How this pull request can be tested ?
please contact me
Checklist
Community contributors & Centreon team
Centreon team only