Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
9.4K+ views

Hi,

2 Of our production webservers got infected last week with Bitcoin miner software and after thorough research, it appears that the Telerik Web UI CVE-2019-18935 vulnerability was used to initiate the attack. More information regarding this attack can be found here: https://www.baco.sk/posts/xmrig-blue-mockingbird/

At the moment, all of our systems are at risk as we've got hundreds of websites running on multiple servers which use the Telerik control, varying from as old as version 2013.3.1114, till the more recent versions, such as 2019.3.1023.

As a (panic) reaction to mitigate this problem, we've replaced the existing Telerik.Web.UI.dll files on the affected server with the 'patched' version downloaded on the product download patch: https://www.telerik.com/account/product-download?product=RCAJAX 

However, after more research, I read on https://www.telerik.com/support/kb/aspnet-ajax/details/allows-javascriptserializer-deserialization that the only way to fix this problem is to upgrade to version R3 2019 SP1 or later. Can you tell me what the patched version is for then? What does it patch?

Also, can you please advise on how we can fix this problem with the least amount of effort, as we literally have hundreds of websites using this DLL. Is there a way that we do not have to upgrade to the latest version and can have it fixed by an IIS setting perhaps? We basically only use the Telerik Editor.

Thank you.

 

 

 

 

 

Rumen
Telerik team
 answered on 14 Oct 2020
7 answers
1.0K+ views

I was working on a simple test page and decided to load the latest Telerik DLLs (2020.3.915) for my asp.net webforms website.  I added a RadWizard to the page, all was working fine until I updated the page directive to set the ClientIDMode to Static. 

 

Using the devtools in Chrome, it shows the following error coming from ScriptResource.axd 

"Uncaught RangeError: Maximum call stack size exceeded"

 

I also noticed in the rendered HTML markup that the RadWizard did NOT use a static id.  In VS, the control was given an id of "wizardMain", but in the rendered HTML, I got the asp.net mangled version instead:

<div id="ctl00_ContentPlaceHolder1_wizardMain" class="RadWizard RadWizard_Default rwzHorizontal">

...

 

 

In general, the whole wizard markup was kind of messed up.  Take the ClientIDMode out of the page directive and it goes back to rendering and working as expected (so far).

 

Version loaded into project via nuget:

  <package id="Telerik.UI.for.AspNet.Ajax.Net45" version="2020.3.915" targetFramework="net48" />

Vessy
Telerik team
 answered on 13 Oct 2020
9 answers
1.2K+ views
Hey!

I have a page with a tabstrip, the whole page is inside RadAjaxPanel.

Inside this page (and also ajaxpanel). I have a jquery that hides/shows a div.

The function works fine, but then I click a tab on tabstrip, the postback happens and script stops working.

What is my solution?

Here is some code:

    <script type="text/javascript">
////FILTER
$('.filter').click(function() {
  $('.filterOpen').toggle('slow', function() {
  });
});
});($telerik.$);
    </script>
 
<div class="filter">Filter</div>
<div class="clear"></div>
<div class="filterOpen" style="display: none">
    <div class="sort">
        <%--Sort control--%>
    </div>
    <div class="time">
        <%--Time filter control--%>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
Vessy
Telerik team
 answered on 13 Oct 2020
14 answers
175 views

One of YAxis has negative value that throwing other out of balance

I attached current and desired pictures

Ideas?

Vessy
Telerik team
 answered on 13 Oct 2020
2 answers
743 views

Hello:

I am looking for some examples that show how I can create a set of cards (RadCards) dynamically.

Any pointer would be appreciated.

 

Thanks

 

 

Alan
Top achievements
Rank 1
 answered on 13 Oct 2020
1 answer
200 views

I am using pagination for my RadGrid and I have a telerik:GridClientSelectColumn at page load the page size is set to 10 however when I change from 10 to 20 in the page size dropdown the checkboxes 11 and grater to do not display on UI (see attachment). 

 

 

Attila Antal
Telerik team
 answered on 13 Oct 2020
4 answers
247 views

Hello,

We are working on multiple document pages, that we want to have the same XML source file to populate both pages but with different data from the XML file.

For example if we had a baseball.XML file that listed all the teams in MLB and we have a page for American league and a separate page for Nation league.

We want both pages to get the data from the same XML file and populate multiple treeviews.  We also want to break it down by division.  We want the name of the team to be a link to the team homepage.

This is an example of one of the pages:

American League

-AL East

  -Tampa Bay

  -New York

+AL Central

+AL West

 

Is this possible with XML and treeview control?  Thank you for any help or direction you can give me. 

Jerry
Top achievements
Rank 1
 answered on 12 Oct 2020
7 answers
1.7K+ views

Had a few sites on the same server that suddenly stopped working and started having issues

looking into the issues found the following weird entry appear in the root web.config:

 

<location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>

Also found the following folders had been created:

"ScriptResource.axd" - Blank web.config

"Telerik.Web.UI.WebResource.axd" - contains a web.config as follows:

<configaration>
<location path="Telerik.Web.UI.WebResource.axd">
<system.webServer>
<httpRedirect enabled="true" destination="ROOT" httpResponseStatus="Permanent" />
</system.webServer>
</location>
</configaration>

"WebResource.axd" - Blank web.config

Anyone else ever seen this?

Is it a hack?

Thanks

 

Rumen
Telerik team
 answered on 12 Oct 2020
1 answer
200 views

Hi, We need help here. I want to call this 

var editor = $find("<%=editor1.ClientID %>");

var someContent = editor.get_html();

from .JS file instead of .aspx file. But when I am calling $find method from function which reside in .JS file, getting "$find is not defined" error.

Please advice how to fix this.

Vessy
Telerik team
 answered on 09 Oct 2020
6 answers
540 views
Hi,

I have a radgrid in batch edit mode inside a RadDock control.
I have a save button (dockcommand) outside of the grid which calls the save
function of the grid using the OnClientCommand and a javascript function.
If i edit a cell in the grid and then click of the cell (anywhere on the page)
the cell loses focus and the innerGrid.get_batchEditingManager()._changes
is updated. Clicking the save button works correctly.

The problem is if a user edits a cell and then clicks the save button (without
clicking anywhere else first) the cell is still in edit mode and the save has
nothing to save.

How do i get the edit cell to loss focus and come out of edit when clicking on
the save button?

All this is done clientside. The radgrid is wrapped within our own control
which implements a save function


Doncho
Telerik team
 answered on 09 Oct 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?