Expand my Community achievements bar.

SOLVED

Restrict users from using execCommand and logonEscalation

Avatar

Level 3

Hello, I've been looking through our Adobe Campaign Classic instance and as an ordinary user, I can go into a workflow and run execCommand as well as LogonEscalation to do possible harmful commands to the server application. Is there a good way to restrict ordinary users from using this in a javascript field node?

 

marting66652718_1-1709625650595.png

 

 

 

 

 

 

 

 

 

 

marting66652718_0-1709625567798.png

 

Thanks in advance,

Martin

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @marting66652718 

 

For the execCommand part, you can blacklist harmful commands. Please check this documentation.

 

Br

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hello @marting66652718 

 

For the execCommand part, you can blacklist harmful commands. Please check this documentation.

 

Br

Avatar

Level 3

Hi, I saw that. But I don't really understand the "User"-part of that XML code.

<exec user="theUnixUser" blacklistFile="/pathtothefile/blacklist"/>

Is that the user that are allowed to use it or what does it mean exactly?

Avatar

Community Advisor

Hi @marting66652718,

 

The user part let you configure a different linux user with what the commands would be executed. Nothing to do with the operators who create/start the javascript with execCommand in them.

 

Br,